diff options
author | Neil <nyamatongwe@gmail.com> | 2015-06-11 14:29:09 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-06-11 14:29:09 +1000 |
commit | 30d76df9409b32a53fedbea53eda2d4849e4f91c (patch) | |
tree | b4f9d88fb593afc0fd5b66bb08a40fe609b7e51d /doc/ScintillaDoc.html | |
parent | adaeccdcb1218ed4b9ecd9934722279e7e793e21 (diff) | |
download | scintilla-mirror-30d76df9409b32a53fedbea53eda2d4849e4f91c.tar.gz |
Explain styling a little more.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 11 |
1 files changed, 7 insertions, 4 deletions
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 @@ <h1>Scintilla Documentation</h1> - <p>Last edited 22 February 2015 NH</p> + <p>Last edited 11 June 2015 NH</p> <p>There is <a class="jump" href="Design.html">an overview of the internal design of Scintilla</a>.<br /> @@ -2372,18 +2372,21 @@ struct Sci_TextToFind { The unused argument was used in earlier versions but is now ignored. After <code>SCI_STARTSTYLING</code>, send multiple <code>SCI_SETSTYLING</code> messages for each - lexical entity to style.</p> + lexical entity to style or send <code>SCI_SETSTYLINGEX</code> to style in blocks.</p> <p><b id="SCI_SETSTYLING">SCI_SETSTYLING(int length, int style)</b><br /> This message sets the style of <code>length</code> characters starting at the styling position - and then increases the styling position by <code>length</code>, ready for the next call.<br /> + and then increases the styling position by <code>length</code>, ready for the next call. + <code>SCI_STARTSTYLING</code> should be called before the first call to this. </p> <p><b id="SCI_SETSTYLINGEX">SCI_SETSTYLINGEX(int length, const char *styles)</b><br /> As an alternative to <code>SCI_SETSTYLING</code>, which applies the same style to each byte, you can use this message which specifies the styles for each of <code>length</code> bytes from the styling position and then increases the styling position by <code>length</code>, ready for - the next call.</p> + the next call. + <code>SCI_STARTSTYLING</code> should be called before the first call to this. + </p> <p><b id="SCI_SETLINESTATE">SCI_SETLINESTATE(int line, int value)</b><br /> <b id="SCI_GETLINESTATE">SCI_GETLINESTATE(int line)</b><br /> |