From ff2bc6c3498e98e04b1e8cbd941c30e8d2ba5957 Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Mon, 30 Oct 2017 09:12:14 +0100 Subject: [PATCH 1/2] + fix: update to Scintilla Lib v.4.0.2 (402) --- scintilla/doc/ScintillaDoc.html | 24 +++++++++++++++++++++++- scintilla/doc/ScintillaDownload.html | 10 +++++----- scintilla/doc/ScintillaHistory.html | 23 ++++++++++++++++++++++- scintilla/doc/index.html | 7 ++++--- scintilla/lexers/LexHTML.cxx | 2 +- scintilla/version.txt | 2 +- 6 files changed, 56 insertions(+), 12 deletions(-) diff --git a/scintilla/doc/ScintillaDoc.html b/scintilla/doc/ScintillaDoc.html index 867efae36..cb3eedc8a 100644 --- a/scintilla/doc/ScintillaDoc.html +++ b/scintilla/doc/ScintillaDoc.html @@ -2900,7 +2900,8 @@ struct Sci_TextToFind { number used by the C and C++ lexer to display literal strings; it has the value 6). This feature works differently on Windows and GTK+.
The default character set is SC_CHARSET_DEFAULT.

-

SC_CHARSET_ANSI and SC_CHARSET_DEFAULT specify European Windows code page 1252 unless the code page is set.

+

SC_CHARSET_ANSI specifies European Windows code page 1252.

+

SC_CHARSET_DEFAULT specifies the system-default code page unless the code page is set.

@@ -6615,6 +6616,10 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ SCI_GETPRIMARYSTYLEFROMSTYLE(int style) → int
SCI_SETIDENTIFIERS(int style, const char *identifiers)
SCI_PRIVATELEXERCALL(int operation, int pointer) → int
+ SCI_GETNAMEDSTYLES → int
+ SCI_NAMEOFSTYLE(int style, char *name) → int
+ SCI_TAGSOFSTYLE(int style, char *tags) → int
+ SCI_DESCRIPTIONOFSTYLE(int style, char *description) → int

SCI_SETLEXER(int lexer)
SCI_GETLEXER → int
@@ -6792,6 +6797,23 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){

SCI_PRIVATELEXERCALL(int operation, int pointer) → int
Call into a lexer in a way not understood by Scintilla.

+

Style Metadata

+

Lexers may provide information on the styles they use. + Lexers have to explicitly support this feature by implementing particular methods.

+ +

SCI_GETNAMEDSTYLES → int
+ Retrieve the number of named styles for the lexer.

+ +

SCI_NAMEOFSTYLE(int style, char *name) → int
+ Retrieve the name of a style. This is a C preprocessor symbol like "SCE_C_COMMENTDOC".

+ +

SCI_TAGSOFSTYLE(int style, char *tags) → int
+ Retrieve the tags of a style. This is a space-separated set of words like "comment documentation".

+ +

SCI_DESCRIPTIONOFSTYLE(int style, char *description) → int
+ Retrieve an English-language description of a style which may be suitable for display in a user interface. + This looks like "Doc comment: block comments beginning with /** or /*!".

+

Lexer Objects

Lexers are programmed as objects that implement the ILexer4 interface and that interact diff --git a/scintilla/doc/ScintillaDownload.html b/scintilla/doc/ScintillaDownload.html index decaa4933..c5a126b65 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.0.1 + Release 4.0.2

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 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 137c5abba..f879995f6 100644 --- a/scintilla/doc/ScintillaHistory.html +++ b/scintilla/doc/ScintillaHistory.html @@ -526,6 +526,26 @@ Icons Copyright(C) 1998 by Dean S. Jones
+

+ Release 4.0.2 +

+

Release 4.0.1

@@ -812,7 +832,7 @@
  • SciTE on Windows Find strip Find button works in incremental no-close mode. - Bug #1926. + Bug #1926.
  • @@ -1236,6 +1256,7 @@ This prevents unexpected behaviour and crashes on East Asian systems where default locales are commonly DBCS. Projects which want to default to DBCS code pages in East Asian locales should set the code page and character set explicitly. + (This change has been REVERTED in Notepad3)
  • SCVS_NOWRAPLINESTART option stops left arrow from wrapping to the previous line. diff --git a/scintilla/doc/index.html b/scintilla/doc/index.html index 35481e60b..af84d41bf 100644 --- a/scintilla/doc/index.html +++ b/scintilla/doc/index.html @@ -9,7 +9,7 @@ - +
  • - + Windows   - + GTK+/Linux