aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-03-10 09:20:30 +0000
committernyamatongwe <unknown>2003-03-10 09:20:30 +0000
commitd17d3db76e2f7e9f295a339b7626af4096f22ddb (patch)
tree1a580a1f81ae57ac6a47e72b3350544698f8b1de
parent0e5e6b976c968dce6e63eb68ecaabab35398ed24 (diff)
downloadscintilla-mirror-d17d3db76e2f7e9f295a339b7626af4096f22ddb.tar.gz
Allow modification of text and highlight colours for calltips.
-rw-r--r--doc/ScintillaDoc.html18
1 files changed, 15 insertions, 3 deletions
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 {
<a class="message" href="#SCI_CALLTIPSETHLT">SCI_CALLTIPSETHLT(int highlightStart, int
highlightEnd)</a><br />
<a class="message" href="#SCI_CALLTIPSETBACK">SCI_CALLTIPSETBACK(int colour)</a><br />
+ <a class="message" href="#SCI_CALLTIPSETFORE">SCI_CALLTIPSETFORE(int colour)</a><br />
+ <a class="message" href="#SCI_CALLTIPSETFOREHLT">SCI_CALLTIPSETFOREHLT(int colour)</a><br />
</code>
+
+
<p><b id="SCI_CALLTIPSHOW">SCI_CALLTIPSHOW(int posStart, const char *definition)</b><br />
This message starts the process by displaying the call tip window. If a call tip is already
active, this has no effect.<br />
@@ -2965,15 +2969,23 @@ struct TextToFind {
required.</p>
<p>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 <code>SCI_CALLTIPSETBACK</code>. The
- only way to change the text colours is to edit the Scintilla source file
- <code>CallTip.cxx</code>.</p>
+ background is white. These can be changed with
+ <code>SCI_CALLTIPSETBACK</code>,
+ <code>SCI_CALLTIPSETFORE</code>, and
+ <code>SCI_CALLTIPSETFOREHLT</code>.
+ </p>
<p><b id="SCI_CALLTIPSETBACK">SCI_CALLTIPSETBACK(int colour)</b><br />
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.</p>
+ <p><b id="SCI_CALLTIPSETFORE">SCI_CALLTIPSETFORE(int colour)</b><br />
+ The colour of call tip text can be set with this message; the default colour is mid gray.</p>
+
+ <p><b id="SCI_CALLTIPSETFOREHLT">SCI_CALLTIPSETFOREHLT(int colour)</b><br />
+ The colour of highlighted call tip text can be set with this message; the default colour is dark blue.</p>
+
<h2 id="KeyboardCommands">Keyboard commands</h2>
<p>To allow the container application to perform any of the actions available to the user with