From 2cab17e2b4ae79692537121d4d2cb46b4e420f85 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 10 Mar 2003 09:21:52 +0000 Subject: Allow modification of text and highlight colours for calltips. --- src/ScintillaBase.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 0af04ad0b..62cdcdd74 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -571,6 +571,16 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara InvalidateStyleRedraw(); break; + case SCI_CALLTIPSETFORE: + ct.colourUnSel = ColourDesired(wParam); + InvalidateStyleRedraw(); + break; + + case SCI_CALLTIPSETFOREHLT: + ct.colourSel = ColourDesired(wParam); + InvalidateStyleRedraw(); + break; + case SCI_USEPOPUP: displayPopupMenu = wParam != 0; break; -- cgit v1.2.3