aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2006-02-04 00:02:08 +0000
committernyamatongwe <devnull@localhost>2006-02-04 00:02:08 +0000
commitbf7c1067974668610114f7da9be6ac16763137fd (patch)
treea48035ed8a6c043c890d5bfee7d2718f3aa10976 /src/ViewStyle.cxx
parent7e37844ea349b580b3c5557d7244cb43f15326d2 (diff)
downloadscintilla-mirror-bf7c1067974668610114f7da9be6ac16763137fd.tar.gz
Modification from Greg Smith to allow setting text style attributes for
calltips as STYLE_CALLTIP and display calltips with tabs to align text.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index c52f1e472..fe519905b 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -278,6 +278,10 @@ void ViewStyle::ClearStyles() {
}
}
styles[STYLE_LINENUMBER].back.desired = Platform::Chrome();
+
+ // Set call tip fore/back to match the values previously set for call tips
+ styles[STYLE_CALLTIP].back.desired = ColourDesired(0xff, 0xff, 0xff);
+ styles[STYLE_CALLTIP].fore.desired = ColourDesired(0x80, 0x80, 0x80);
}
void ViewStyle::SetStyleFontName(int styleIndex, const char *name) {