From 02914e8e53c3e72e9fc3a05f8e75078cad4eb0f6 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Tue, 24 Aug 2021 11:14:20 +1000 Subject: Feature [feature-requests:#841] SCI_SETCARETLINEHIGHLIGHTSUBLINE enables highlighting just the subline with the caret when wrapping is on. --- src/ViewStyle.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ViewStyle.cxx') 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; -- cgit v1.2.3