helix-mirror/helix-term/src
Pascal Kuthe d6c8e0c946 allow scrolling past virtual text line
Virtual text lines (either caused by softwrapped inlay hints that take
multiple or line annotations) currently block scrolling downwards.

if the visual offset passed to char_idx_at_visual_offset or
visual_offset_from_block is within a virtual text line then the char
position before the virtual text and a visual offset are returned.
We previously ignored that visual offset and as a result the cursor
would be stuck at the start of the virtual text. This commit fixes
that by simply moving the cursor to the next char (so past the virtual
text) if this visual offset is non-zero
2023-03-27 09:54:40 +09:00
..
commands Run shell commands asynchronously (#6373) 2023-03-20 19:12:18 -05:00
keymap feat(dap): implement Restart request (#5651) 2023-03-06 18:19:53 +09:00
ui remove incorrect assert 2023-03-27 09:54:40 +09:00
application.rs discard outdated workspace edits recived from the LS 2023-03-16 15:45:49 +09:00
args.rs Fix confusion with using --hsplit --vsplit on startup at same time (#4202) 2022-10-11 09:25:42 -04:00
commands.rs allow scrolling past virtual text line 2023-03-27 09:54:40 +09:00
compositor.rs bump msrv to 1.63 (#5570) 2023-02-09 11:24:31 +09:00
config.rs Move top level lsp config to editor.lsp (#1868) 2022-03-28 10:11:52 +09:00
health.rs Generalised to multiple runtime directories with priorities (#5411) 2023-03-09 23:50:43 +09:00
job.rs bump msrv to 1.63 (#5570) 2023-02-09 11:24:31 +09:00
keymap.rs keymap: Test backslash escaping in commands 2023-01-25 09:31:58 -06:00
lib.rs Fix new clippy lints (#5892) 2023-02-09 16:27:08 -06:00
main.rs feat(lsp): pass client_info on initialization (#4904) 2022-12-08 21:57:03 -06:00