summaryrefslogtreecommitdiff
path: root/src/highlighter.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-08-23 14:09:47 +1000
committerMaxime Coste <mawww@kakoune.org>2023-08-23 14:13:22 +1000
commit9c0c6b8fd5a7ea8b819798add9f0605da749062b (patch)
treefb1e95ea1f0adeff258a4f0147be64e42f0ff60b /src/highlighter.hh
parent1e38045d702ec6eb2425016d9b02636270ab1b1e (diff)
Revert "Only make cursor visible after buffer or selection change"
This is currently broken on various corner cases and breaks the "master branch should be good for day to day work" implicit rule, ongoing work to stabilize this feature will take place on the no-cursor-move-on-scroll branch until its deemed ready. This reverts commit 1e38045d702ec6eb2425016d9b02636270ab1b1e. Closes #4963
Diffstat (limited to 'src/highlighter.hh')
-rw-r--r--src/highlighter.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/highlighter.hh b/src/highlighter.hh
index 925dcaa7..ad94f44d 100644
--- a/src/highlighter.hh
+++ b/src/highlighter.hh
@@ -46,7 +46,6 @@ struct DisplaySetup
DisplayCoord cursor_pos;
// Offset of line and columns that must remain visible around cursor
DisplayCoord scroll_offset;
- bool ensure_cursor_visible;
};
using HighlighterIdList = ConstArrayView<StringView>;