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/Editor.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Editor.cxx') 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: -- cgit v1.2.3