From 1b1408bddb9fdf719ea0bc7a54636eed2c7cd1de Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Fri, 15 Nov 2019 10:35:08 +0100 Subject: [PATCH] + upd: Scintilla ver 4.2.1 --- scintilla/doc/ScintillaDoc.html | 15 ++- scintilla/doc/ScintillaDownload.html | 10 +- scintilla/doc/ScintillaHistory.html | 19 ++- scintilla/doc/index.html | 10 +- scintilla/include/Scintilla.h | 6 +- scintilla/include/Scintilla.iface | 10 +- scintilla/lexers/LexBatch.cxx | 2 +- scintilla/lexers/LexHTML.cxx | 27 ++++- scintilla/lexers/LexTCL.cxx | 10 +- scintilla/lexlib/CharacterCategory.cxx | 157 ++++++++++++++++--------- scintilla/src/CaseConvert.cxx | 8 +- scintilla/src/Editor.cxx | 7 ++ scintilla/src/Editor.h | 13 ++ scintilla/version.txt | 2 +- scintilla/win32/ScintRes.rc | 4 +- 15 files changed, 215 insertions(+), 85 deletions(-) diff --git a/scintilla/doc/ScintillaDoc.html b/scintilla/doc/ScintillaDoc.html index b96f6eea2..aee54e206 100644 --- a/scintilla/doc/ScintillaDoc.html +++ b/scintilla/doc/ScintillaDoc.html @@ -2292,6 +2292,7 @@ struct Sci_TextToFind { SCI_GETWHITESPACESIZE → int
SCI_SETWHITESPACESIZE sets the size of the dots used for mark space characters. The SCI_GETWHITESPACESIZE message retrieves the current size. + The value 0 is valid and makes the dots invisible.

SCI_SETTABDRAWMODE(int tabDrawMode)
@@ -3912,8 +3913,11 @@ struct Sci_TextToFind { inserting a tab at the current character position and backspace unindents the line rather than deleting a character. Scintilla can also display indentation guides (vertical lines) to help you to generate code.

- SCI_SETTABWIDTH(int tabWidth)
+ + SCI_SETTABWIDTH(int tabWidth)
SCI_GETTABWIDTH → int
+ SCI_SETTABMINIMUMWIDTH(int pixels)
+ SCI_GETTABMINIMUMWIDTH → int
SCI_CLEARTABSTOPS(line line)
SCI_ADDTABSTOP(line line, int x)
SCI_GETNEXTTABSTOP(line line, int x) → int
@@ -3936,6 +3940,15 @@ struct Sci_TextToFind { SCI_GETHIGHLIGHTGUIDE → position
+

SCI_SETTABMINIMUMWIDTH(int pixels)
+ SCI_GETTABMINIMUMWIDTH → int
+ SCI_SETTABMINIMUMWIDTH sets the minimum size of a tab in pixels to ensure that the tab + can be seen. The default value is 2. This is particularly useful with proportional fonts with fractional widths where + the character before the tab may end a fraction of a pixel before a tab stop, causing the tab to only be a fraction of + a pixel wide without this setting. + Where displaying a miniaturized version of the document, setting this to 0 may make the miniaturized + version lay out more like the normal size version.

+

SCI_SETTABWIDTH(int tabWidth)
SCI_GETTABWIDTH → int
SCI_SETTABWIDTH sets the size of a tab as a multiple of the size of a space diff --git a/scintilla/doc/ScintillaDownload.html b/scintilla/doc/ScintillaDownload.html index eea2aea62..14ded6e32 100644 --- a/scintilla/doc/ScintillaDownload.html +++ b/scintilla/doc/ScintillaDownload.html @@ -26,9 +26,9 @@ @@ -42,7 +42,7 @@ containing very few restrictions.

- Release 4.2.0 + Release 4.2.1

Source Code @@ -50,8 +50,8 @@ The source code package contains all of the source code for Scintilla but no binary executable code and is available in
    -
  • zip format (1.7M) commonly used on Windows
  • -
  • tgz format (1.4M) commonly used on Linux and compatible operating systems
  • +
  • zip format (1.7M) commonly used on Windows
  • +
  • tgz format (1.4M) commonly used on Linux and compatible operating systems
Instructions for building on both Windows and Linux are included in the readme file.

diff --git a/scintilla/doc/ScintillaHistory.html b/scintilla/doc/ScintillaHistory.html index 190b331f4..0da5e78f6 100644 --- a/scintilla/doc/ScintillaHistory.html +++ b/scintilla/doc/ScintillaHistory.html @@ -562,12 +562,21 @@

  • - Released 5 July 2019. + Released 24 October 2019. +
  • +
  • + Add SCI_SETTABMINIMUMWIDTH to set the minimum width of tabs. + This allows minimaps or overviews to be layed out to match the full size editing view. + Bug #2118.
  • SciTE enables use of SCI_ commands in user.context.menu.
  • + XML folder adds fold.xml.at.tag.open option to fold tags at the start of the tag "<" instead of the end ">". + Bug #2128. +
  • +
  • Metapost lexer fixes crash with 'interface=none' comment. Bug #2129.
  • @@ -580,9 +589,17 @@ Feature #1306.
  • + TCL folder can turn off whitespace flag by setting fold.compact property to 0. + Bug #2131. +
  • +
  • Optimize setting up keyword lists in lexers. Feature #1305.
  • +
  • + Updated case conversion and character categories to Unicode 12.1. + Feature #1315. +
  • On Win32, stop the IME candidate window moving unnecessarily and position it better.
    Stop candidate window overlapping composition text and taskbar.
    diff --git a/scintilla/doc/index.html b/scintilla/doc/index.html index 942032c54..260e3443e 100644 --- a/scintilla/doc/index.html +++ b/scintilla/doc/index.html @@ -9,7 +9,7 @@ - +
- + Windows   - + GTK/Linux