aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-03-10 09:21:52 +0000
committernyamatongwe <unknown>2003-03-10 09:21:52 +0000
commit2cab17e2b4ae79692537121d4d2cb46b4e420f85 (patch)
tree5bdd6e2dbf1718955afeec1e6b824b1b2e6e8424 /src
parentd17d3db76e2f7e9f295a339b7626af4096f22ddb (diff)
downloadscintilla-mirror-2cab17e2b4ae79692537121d4d2cb46b4e420f85.tar.gz
Allow modification of text and highlight colours for calltips.
Diffstat (limited to 'src')
-rw-r--r--src/ScintillaBase.cxx10
1 files changed, 10 insertions, 0 deletions
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;