diff options
author | Neil <nyamatongwe@gmail.com> | 2015-02-15 23:51:05 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-02-15 23:51:05 +1100 |
commit | deef968ba5e09d5280030aa24251c77cc8b47736 (patch) | |
tree | 8c8364337fab3f874b5180f61a5129b25e4a9a4e /doc/ScintillaDoc.html | |
parent | a5267eb10508943c36fa2655832778f555f899a2 (diff) | |
download | scintilla-mirror-deef968ba5e09d5280030aa24251c77cc8b47736.tar.gz |
Add SC_INDICFLAG_VALUEFORE and INDIC_TEXTFORE to allow a wide range of indicator
colours and to change the colour of text.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 22 |
1 files changed, 21 insertions, 1 deletions
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 @@ <h1>Scintilla Documentation</h1> - <p>Last edited 10 February 2015 NH</p> + <p>Last edited 13 February 2015 NH</p> <p>There is <a class="jump" href="Design.html">an overview of the internal design of Scintilla</a>.<br /> @@ -3943,6 +3943,8 @@ struct Sci_TextToFind { <a class="message" href="#SCI_INDICSETHOVERFORE">SCI_INDICSETHOVERFORE(int indicatorNumber, int colour)</a><br /> <a class="message" href="#SCI_INDICGETHOVERFORE">SCI_INDICGETHOVERFORE(int indicatorNumber)</a><br /> + <a class="message" href="#SCI_INDICSETFLAGS">SCI_INDICSETFLAGS(int indicatorNumber, int flags)</a><br /> + <a class="message" href="#SCI_INDICGETFLAGS">SCI_INDICGETFLAGS(int indicatorNumber)</a><br /> <br /> <a class="message" href="#SCI_SETINDICATORCURRENT">SCI_SETINDICATORCURRENT(int indicator)</a><br /> @@ -4141,6 +4143,14 @@ struct Sci_TextToFind { This is similar to an appearance used for non-target ranges in Asian language input composition.</td> </tr> + <tr> + <td align="left"><code>INDIC_TEXTFORE</code></td> + + <td align="center">17</td> + + <td>Change the colour of the text to the indicator's fore colour.</td> + </tr> + </tbody> </table> @@ -4189,6 +4199,16 @@ struct Sci_TextToFind { <a class="message" href="#SCI_INDICSETSTYLE">SCI_INDICSETSTYLE</a> will also reset the hover attribute.</p> + <p><b id="SCI_INDICSETFLAGS">SCI_INDICSETFLAGS(int indicatorNumber, int flags)</b><br /> + <b id="SCI_INDICGETFLAGS">SCI_INDICGETFLAGS(int indicatorNumber)</b><br /> + These messages set and get the flags associated with an indicator. + There is currently one flag defined, <code>SC_INDICFLAG_VALUEFORE</code>: 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 <a class="jump" + href="#colour">RGB integer colour</a> that has been ored with <code>SC_INDICVALUEBIT</code>(0x1000000) + when calling <a class="message" href="#SCI_SETINDICATORVALUE">SCI_SETINDICATORVALUE</a>. + </p> + <p> <b id="SCI_SETINDICATORCURRENT">SCI_SETINDICATORCURRENT(int indicator)</b><br /> <b id="SCI_GETINDICATORCURRENT">SCI_GETINDICATORCURRENT</b><br /> |