From deef968ba5e09d5280030aa24251c77cc8b47736 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 15 Feb 2015 23:51:05 +1100 Subject: Add SC_INDICFLAG_VALUEFORE and INDIC_TEXTFORE to allow a wide range of indicator colours and to change the colour of text. --- doc/ScintillaDoc.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 86db4be09..46039ed54 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -82,7 +82,7 @@

Scintilla Documentation

-

Last edited 10 February 2015 NH

+

Last edited 13 February 2015 NH

There is an overview of the internal design of Scintilla.
@@ -3943,6 +3943,8 @@ struct Sci_TextToFind { SCI_INDICSETHOVERFORE(int indicatorNumber, int colour)
SCI_INDICGETHOVERFORE(int indicatorNumber)
+ SCI_INDICSETFLAGS(int indicatorNumber, int flags)
+ SCI_INDICGETFLAGS(int indicatorNumber)

SCI_SETINDICATORCURRENT(int indicator)
@@ -4141,6 +4143,14 @@ struct Sci_TextToFind { This is similar to an appearance used for non-target ranges in Asian language input composition. + + INDIC_TEXTFORE + + 17 + + Change the colour of the text to the indicator's fore colour. + + @@ -4189,6 +4199,16 @@ struct Sci_TextToFind { SCI_INDICSETSTYLE will also reset the hover attribute.

+

SCI_INDICSETFLAGS(int indicatorNumber, int flags)
+ SCI_INDICGETFLAGS(int indicatorNumber)
+ These messages set and get the flags associated with an indicator. + There is currently one flag defined, SC_INDICFLAG_VALUEFORE: when this flag is set + the colour used by the indicator is not from the indicator's fore setting but instead from the value of the indicator at + that point in the file. This allows many colours to be displayed for a single indicator. The value is an RGB integer colour that has been ored with SC_INDICVALUEBIT(0x1000000) + when calling SCI_SETINDICATORVALUE. +

+

SCI_SETINDICATORCURRENT(int indicator)
SCI_GETINDICATORCURRENT
-- cgit v1.2.3