From bc02d0c442355ca6bd20893749664a44584f25ef Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 22 Jun 2019 11:35:58 +1000 Subject: Feature [feature-requests:#1297] Updated Scintilla.h from Scintilla.iface. Adds *_NONE and INDICATOR_* enumeration values. Moves old INDIC?_MASK to deprecated section. --- doc/ScintillaDoc.html | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 9d7dce4b1..d5e5b7385 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -119,7 +119,7 @@

Scintilla Documentation

-

Last edited 18 June 2019 NH

+

Last edited 22 June 2019 NH

There is an overview of the internal design of Scintilla.
@@ -790,6 +790,12 @@ struct Sci_TextRange { + + + + + + @@ -1201,7 +1207,8 @@ struct Sci_TextToFind { and SCI_ENDUNDOACTION.

The flags argument can be UNDO_MAY_COALESCE (1) if the container action may be - coalesced along with any insertion and deletion actions into a single compound action, otherwise 0. + coalesced along with any insertion and deletion actions into a single compound action, otherwise + UNDO_NONE (0). Coalescing treats coalescible container actions as transparent so will still only group together insertions that look like typing or deletions that look like multiple uses of the Backspace or Delete keys.

@@ -4355,11 +4362,16 @@ struct Sci_TextToFind { They may also be invisible when used to track pieces of content for the application as INDIC_HIDDEN.

The SCI_INDIC* messages allow you to get and set the visual appearance of the - indicators. They all use an indicator argument in the range 0 to INDIC_MAX(35) + indicators. They all use an indicator argument in the range 0 to INDICATOR_MAX(35) to set the indicator to style. To prevent interference the set of indicators is divided up into a range for use by lexers (0..7) a range for use by containers - (8=INDIC_CONTAINER .. 31=INDIC_IME-1) - and a range for IME indicators (32=INDIC_IME .. 35=INDIC_IME_MAX).

+ (8=INDICATOR_CONTAINER .. 31=INDICATOR_IME-1) + and a range for IME indicators (32=INDICATOR_IME .. 35=INDICATOR_IME_MAX).

+ +

The INDICATOR_* values used for dividing up indicators + were previously INDIC_CONTAINER, INDIC_IME, + INDIC_IME_MAX, and INDIC_MAX + but these were confused with indicator styles so the new names should be used.

Indicators are stored in a format similar to run length encoding which is efficient in both speed and storage for sparse information.

@@ -7542,6 +7554,16 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber); + + + + + + + + + + -- cgit v1.2.3
SCFIND_NONEDefault setting is case-insensitive literal match.
SCFIND_MATCHCASE
SC_MOD_NONE0x00Base value with no fields valid. Will not occur but is useful in tests.
SC_MOD_INSERTTEXT