aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
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.h
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.h')
-rw-r--r--src/ViewStyle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 8b9f125bd..66a853848 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -63,6 +63,8 @@ struct CaretLineAppearance {
Scintilla::Layer layer;
// Also show when non-focused
bool alwaysShow;
+ // highlight sub line instead of whole line
+ bool subLine;
// Non-0: draw a rectangle around line instead of filling line. Value is pixel width of frame
int frame;
};