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 /src/Editor.cxx | |
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 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 85fab6e70..382e173c3 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6855,6 +6855,16 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_INDICGETHOVERFORE: return (wParam <= INDIC_MAX) ? vs.indicators[wParam].sacHover.fore.AsLong() : 0; + case SCI_INDICSETFLAGS: + if (wParam <= INDIC_MAX) { + vs.indicators[wParam].SetFlags(static_cast<int>(lParam)); + InvalidateStyleRedraw(); + } + break; + + case SCI_INDICGETFLAGS: + return (wParam <= INDIC_MAX) ? vs.indicators[wParam].Flags() : 0; + case SCI_INDICSETUNDER: if (wParam <= INDIC_MAX) { vs.indicators[wParam].under = lParam != 0; |