aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2006-02-04 00:02:08 +0000
committernyamatongwe <unknown>2006-02-04 00:02:08 +0000
commit1890406cfe2700df5511371ac082ce068697ac32 (patch)
treea48035ed8a6c043c890d5bfee7d2718f3aa10976 /src/ViewStyle.cxx
parent5907254a9ef71d37679aab2b6ad68c5a944d78a3 (diff)
downloadscintilla-mirror-1890406cfe2700df5511371ac082ce068697ac32.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) {