From 989fa6eab0a21fbe09caa337dcce1348e5bd4aec Mon Sep 17 00:00:00 2001 From: rdaneelolivaw Date: Wed, 4 May 2005 19:35:42 +0000 Subject: RBR - update SC_MULTISTEPUNDOREDO description to match actual behavior and add "cautionary" paragraph to "Indicators" section. --- doc/ScintillaDoc.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 9a0a84b1f..63106de1a 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2797,6 +2797,15 @@ struct TextToFind { href="#SCI_STARTSTYLING">SCI_STARTSTYLING with a INDICS_MASK mask and SCI_SETSTYLING with the values INDIC0_MASK, INDIC1_MASK and INDIC2_MASK.

+ +

IMPORTANT: if you are using indicators in a buffer that has a lexer active + (see SCI_SETLEXER), + you must save lexing state information before setting any indicators and restore it afterwards. + Use SCI_GETENDSTYLED + to retrieve the current "styled to" position and + SCI_STARTSTYLING + to reset the styling position and mask (0x1f in the default layout of 5 style bits and 3 indicator bits) + when you are done.

The number of bits used for styles can be altered with SCI_SETSTYLEBITS from 0 to 7 bits. The remaining bits @@ -4666,7 +4675,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber); 0x100 - This is the final step in an Undo or Redo that has several sections. + This is the final step in an Undo or Redo. None -- cgit v1.2.3