From d17d3db76e2f7e9f295a339b7626af4096f22ddb Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 10 Mar 2003 09:20:30 +0000 Subject: Allow modification of text and highlight colours for calltips. --- doc/ScintillaDoc.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index a06d1928d..e277e6a8b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2934,8 +2934,12 @@ struct TextToFind { SCI_CALLTIPSETHLT(int highlightStart, int highlightEnd)
SCI_CALLTIPSETBACK(int colour)
+ SCI_CALLTIPSETFORE(int colour)
+ SCI_CALLTIPSETFOREHLT(int colour)
+ +

SCI_CALLTIPSHOW(int posStart, const char *definition)
This message starts the process by displaying the call tip window. If a call tip is already active, this has no effect.
@@ -2965,15 +2969,23 @@ struct TextToFind { required.

Unhighlighted text is drawn in a mid gray. Selected text is drawn in a dark blue. The - default background is white, but this can be changed with SCI_CALLTIPSETBACK. The - only way to change the text colours is to edit the Scintilla source file - CallTip.cxx.

+ background is white. These can be changed with + SCI_CALLTIPSETBACK, + SCI_CALLTIPSETFORE, and + SCI_CALLTIPSETFOREHLT. +

SCI_CALLTIPSETBACK(int colour)
The background colour of call tips can be set with this message; the default colour is white. It is not a good idea to set a dark colour as the background as the unselected text is drawn in mid gray and the selected text in a dark blue.

+

SCI_CALLTIPSETFORE(int colour)
+ The colour of call tip text can be set with this message; the default colour is mid gray.

+ +

SCI_CALLTIPSETFOREHLT(int colour)
+ The colour of highlighted call tip text can be set with this message; the default colour is dark blue.

+

Keyboard commands

To allow the container application to perform any of the actions available to the user with -- cgit v1.2.3