aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-09-28 22:06:23 +0000
committernyamatongwe <unknown>2003-09-28 22:06:23 +0000
commit3d3795bb0e3a9a7de8113a0354396f7b944730c4 (patch)
tree08e41dc38284608575f3bc1dbc375502ce65ecb5 /src/ViewStyle.cxx
parent4ca11897cd1dd1240640a11576c6225b416f9efa (diff)
downloadscintilla-mirror-3d3795bb0e3a9a7de8113a0354396f7b944730c4.tar.gz
Hotspot improvements from Simon, including setting to
limit hotspots to a single line.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index eb8e54f2f..e2a65e09e 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -84,6 +84,7 @@ ViewStyle::ViewStyle(const ViewStyle &source) {
hotspotBackgroundSet = source.hotspotBackgroundSet;
hotspotBackground.desired = source.hotspotBackground.desired;
hotspotUnderline = source.hotspotUnderline;
+ hotspotSingleLine = source.hotspotSingleLine;
whitespaceForegroundSet = source.whitespaceForegroundSet;
whitespaceForeground.desired = source.whitespaceForeground.desired;
@@ -164,6 +165,7 @@ void ViewStyle::Init() {
hotspotBackgroundSet = false;
hotspotBackground.desired = ColourDesired(0xff, 0xff, 0xff);
hotspotUnderline = true;
+ hotspotSingleLine = true;
leftMarginWidth = 1;
rightMarginWidth = 1;