diff options
author | A-R-C-A <unknown> | 2017-04-06 20:19:23 +1000 |
---|---|---|
committer | A-R-C-A <unknown> | 2017-04-06 20:19:23 +1000 |
commit | dba2fe55b8a4ab4ac34795fe4a4b30a729c77016 (patch) | |
tree | 83e69d400b6bde138c940f995e7167d0dc3af765 /src/Editor.cxx | |
parent | 84d949ba2662648114028dc3f7470e58064bf25c (diff) | |
download | scintilla-mirror-dba2fe55b8a4ab4ac34795fe4a4b30a729c77016.tar.gz |
Added a caret line frame as an alternative visual for highlighting the caret line.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 61511cd2a..3a4b3c744 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7067,6 +7067,12 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { InvalidateStyleRedraw(); break; + case SCI_GETCARETLINEFRAME: + return vs.caretLineFrame; + case SCI_SETCARETLINEFRAME: + vs.caretLineFrame = static_cast<int>(wParam); + InvalidateStyleRedraw(); + break; case SCI_GETCARETLINEBACK: return vs.caretLineBackground.AsLong(); case SCI_SETCARETLINEBACK: |