aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2021-08-24 11:14:20 +1000
committerZufu Liu <unknown>2021-08-24 11:14:20 +1000
commit02914e8e53c3e72e9fc3a05f8e75078cad4eb0f6 (patch)
treeb7894f557a313bad18445d13eca2b82039b8c9f9 /src/ViewStyle.cxx
parent3ef8c4b037c622f910a0d13bba91657df1f78d9d (diff)
downloadscintilla-mirror-02914e8e53c3e72e9fc3a05f8e75078cad4eb0f6.tar.gz
Feature [feature-requests:#841] SCI_SETCARETLINEHIGHLIGHTSUBLINE enables
highlighting just the subline with the caret when wrapping is on.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 47f76d357..366151cee 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -265,6 +265,7 @@ void ViewStyle::Init(size_t stylesSize_) {
elementColours.erase(Element::CaretLineBack);
elementAllowsTranslucent.insert(Element::CaretLineBack);
caretLine.alwaysShow = false;
+ caretLine.subLine = false;
caretLine.layer = Layer::Base;
caretLine.frame = 0;