From 92290868cf9753d2df0d494cb44e2ff62a570b58 Mon Sep 17 00:00:00 2001
From: Neil Last edited 13 May 2021 NH Last edited 25 May 2021 NH Scintilla 5 has moved the lexers from Scintilla into a new
Lexilla project. There is a more type-safe binding of this API that can be used from C++.
+ It is implemented in the ScintillaTypes.h, ScintillaMessages.h, and ScintillaStructures.h headers.
+ SciTE contains (in src) a ScintillaCall module that can help further and will, in the future, be
+ moved into Scintilla.
+ In the descriptions that follow, the messages are described as function calls with zero, one
or two arguments. These two arguments are the standard Scintilla Documentation
-
@@ -181,6 +181,12 @@
work out how to develop using Scintilla is to see how SciTE uses it. SciTE exercises most of
Scintilla's facilities.wParam and
lParam familiar to Windows programmers. These parameters are integers that
@@ -274,9 +280,9 @@
alphaTranslucency is set using an alpha value.
- Alpha ranges from 0 (SC_ALPHA_TRANSPARENT) which is completely transparent to
- 255 (SC_ALPHA_OPAQUE) which is opaque.
- Previous versions used the value 256 (SC_ALPHA_NOALPHA) to indicate that drawing was to be
+ Alpha ranges from 0 (
@@ -1649,9 +1655,9 @@ struct Sci_TextToFind {
working in terms of UTF-16 code units.SC_ALPHA_TRANSPARENT) which is completely transparent to
+ 255 (SC_ALPHA_OPAQUE) which is opaque.
+ Previous versions used the value 256 (SC_ALPHA_NOALPHA) to indicate that drawing was to be
performed opaquely on the base layer. This is now discouraged and code should use the …LAYER…
methods to choose the layer.
SCI_GETLINECHARACTERINDEX → int
- Returns which if any indexes are active. It may be SC_LINECHARACTERINDEX_NONE(0) or one or more
- of SC_LINECHARACTERINDEX_UTF32(1) if whole characters are indexed or
- SC_LINECHARACTERINDEX_UTF16(2) if UTF-16 code units are indexed.
+ Returns which if any indexes are active. It may be SC_LINECHARACTERINDEX_NONE (0) or one or more
+ of SC_LINECHARACTERINDEX_UTF32 (1) if whole characters are indexed or
+ SC_LINECHARACTERINDEX_UTF16 (2) if UTF-16 code units are indexed.
Character indexes are currently only supported for UTF-8 documents.
SCI_ALLOCATELINECHARACTERINDEX(int lineCharacterIndex)
@@ -1665,7 +1671,7 @@ struct Sci_TextToFind {
SCI_LINEFROMINDEXPOSITION(position pos, int lineCharacterIndex) → line
SCI_INDEXPOSITIONFROMLINE(line line, int lineCharacterIndex) → position
The document line of a particular character or code unit may be found by calling SCI_LINEFROMINDEXPOSITION with one of
- SC_LINECHARACTERINDEX_UTF32(1) or SC_LINECHARACTERINDEX_UTF16(2).
+ SC_LINECHARACTERINDEX_UTF32 (1) or SC_LINECHARACTERINDEX_UTF16 (2).
The inverse action, finds the starting position of a document line either in characters or code units from the document start by calling
SCI_INDEXPOSITIONFROMLINE with the same lineCharacterIndex argument.
SCI_SETCARETSTYLE(int caretStyle)
SCI_GETCARETSTYLE → int
The style of the caret can be set with SCI_SETCARETSTYLE.
- There are separate styles for insert mode (lower 4-bits, CARETSTYLE_INS_MASK) and
+ There are separate styles for insert mode (lower 4-bits, CARETSTYLE_INS_MASK) and
overtype mode (bit 4).
| SC_FOLDFLAG_NONE | +0 | +Default value. | +|
| 1 | @@ -6980,44 +6995,38 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){|||
| SC_FOLDFLAG_LINEBEFORE_EXPANDED | 2 | -Draw above if expanded | |
| SC_FOLDFLAG_LINEBEFORE_CONTRACTED | 4 | -Draw above if not expanded | |
| SC_FOLDFLAG_LINEAFTER_EXPANDED | 8 | -Draw below if expanded | |
| SC_FOLDFLAG_LINEAFTER_CONTRACTED | 16 | -Draw below if not expanded | |
| SC_FOLDFLAG_LEVELNUMBERS | 64 | - -display hexadecimal fold levels in line margin to aid debugging of + | Display hexadecimal fold levels in line margin to aid debugging of folding. The appearance of this feature may change in the future. |
| SC_FOLDFLAG_LINESTATE | 128 | - -display hexadecimal line state in line margin to aid debugging of lexing and folding. + | Display hexadecimal line state in line margin to aid debugging of lexing and folding.
May not be used at the same time as SC_FOLDFLAG_LEVELNUMBERS. |
| SC_AUTOMATICFOLD_NONE | +0 | +Value with no automatic behaviour. | +|
| SC_AUTOMATICFOLD_SHOW | 1 | @@ -8310,6 +8325,16 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber);||
SC_UPDATE_NONE |
+
+ 0x00 | + +Value without any changes. | + +|
SC_UPDATE_CONTENT |
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 4d8d0dcda..b157ee805 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -581,6 +581,10 @@
Released 23 April 2021.