aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/plines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/plines.h')
-rw-r--r--src/nvim/plines.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/plines.h b/src/nvim/plines.h
index 808f6d284e..2ce7133705 100644
--- a/src/nvim/plines.h
+++ b/src/nvim/plines.h
@@ -11,10 +11,12 @@ typedef struct {
win_T *cts_win;
char *cts_line; // start of the line
char *cts_ptr; // current position in line
+ int cts_row;
bool cts_has_virt_text; // true if if a property inserts text
- int cts_cur_text_width; // width of current inserted text
- // TODO(bfredl): iterator in to the marktree for scanning virt 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];
int cts_vcol; // virtual column at current position
} chartabsize_T;