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. --- src/Editor.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/Editor.cxx') 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(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; -- cgit v1.2.3