diff options
author | Zufu Liu <unknown> | 2021-08-24 11:14:20 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2021-08-24 11:14:20 +1000 |
commit | 02914e8e53c3e72e9fc3a05f8e75078cad4eb0f6 (patch) | |
tree | b7894f557a313bad18445d13eca2b82039b8c9f9 /src/Editor.cxx | |
parent | 3ef8c4b037c622f910a0d13bba91657df1f78d9d (diff) | |
download | scintilla-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/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index b4031c8f1..341165776 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7325,6 +7325,13 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) { InvalidateStyleRedraw(); break; + case Message::GetCaretLineHighlightSubLine: + return vs.caretLine.subLine; + case Message::SetCaretLineHighlightSubLine: + vs.caretLine.subLine = wParam != 0; + InvalidateStyleRedraw(); + break; + case Message::GetCaretLineFrame: return vs.caretLine.frame; case Message::SetCaretLineFrame: |