From 30d76df9409b32a53fedbea53eda2d4849e4f91c Mon Sep 17 00:00:00 2001
From: Neil Last edited 22 February 2015 NH Last edited 11 June 2015 NH There is an overview of the internal design of
Scintilla.Scintilla Documentation
-
@@ -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.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.
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