From 30d76df9409b32a53fedbea53eda2d4849e4f91c Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 11 Jun 2015 14:29:09 +1000 Subject: Explain styling a little more. --- doc/ScintillaDoc.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 60f932e09..6e4210bc9 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -82,7 +82,7 @@

Scintilla Documentation

-

Last edited 22 February 2015 NH

+

Last edited 11 June 2015 NH

There is an overview of the internal design of Scintilla.
@@ -2372,18 +2372,21 @@ struct Sci_TextToFind { The unused argument was used in earlier versions but is now ignored. After SCI_STARTSTYLING, send multiple SCI_SETSTYLING messages for each - lexical entity to style.

+ lexical entity to style or send SCI_SETSTYLINGEX to style in blocks.

SCI_SETSTYLING(int length, int style)
This message sets the style of length characters starting at the styling position - and then increases the styling position by length, ready for the next call.
+ and then increases the styling position by length, ready for the next call. + SCI_STARTSTYLING should be called before the first call to this.

SCI_SETSTYLINGEX(int length, const char *styles)
As an alternative to SCI_SETSTYLING, which applies the same style to each byte, you can use this message which specifies the styles for each of length bytes from the styling position and then increases the styling position by length, ready for - the next call.

+ the next call. + SCI_STARTSTYLING should be called before the first call to this. +

SCI_SETLINESTATE(int line, int value)
SCI_GETLINESTATE(int line)
-- cgit v1.2.3