mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
fix(extmark): fix cursor position with both left and right gravity inline text
This commit is contained in:
@@ -14,8 +14,8 @@ typedef struct {
|
||||
int cts_row;
|
||||
|
||||
bool cts_has_virt_text; // true if if a property inserts text
|
||||
bool cts_has_right_gravity;
|
||||
int cts_cur_text_width; // width of current inserted text
|
||||
int cts_cur_text_width_left; // width of virtual text left of cursor
|
||||
int cts_cur_text_width_right; // width of virtual text right of cursor
|
||||
MarkTreeIter cts_iter[1];
|
||||
// TODO(bfredl): iterator in to the marktree for scanning virt text
|
||||
|
||||
|
Reference in New Issue
Block a user