comparison src/structs.h @ 31946:05414bdc5c2c v9.0.1305

patch 9.0.1305: cursor in wrong line with virtual text above Commit: https://github.com/vim/vim/commit/55a27d8ea7c112429fff14aba5db562de7f765f1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 12 18:03:57 2023 +0000 patch 9.0.1305: cursor in wrong line with virtual text above Problem: Cursor in wrong line with virtual text above. Solution: Count extra line for text property above/below. (closes https://github.com/vim/vim/issues/11959)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Feb 2023 19:15:03 +0100
parents ffa11e2757e7
children ca6bc7c04163
comparison
equal deleted inserted replaced
31945:884702f65f17 31946:05414bdc5c2c
4779 int cts_text_prop_count; // number of text props; when zero 4779 int cts_text_prop_count; // number of text props; when zero
4780 // cts_text_props is not used 4780 // cts_text_props is not used
4781 textprop_T *cts_text_props; // text props (allocated) 4781 textprop_T *cts_text_props; // text props (allocated)
4782 char cts_has_prop_with_text; // TRUE if if a property inserts text 4782 char cts_has_prop_with_text; // TRUE if if a property inserts text
4783 int cts_cur_text_width; // width of current inserted text 4783 int cts_cur_text_width; // width of current inserted text
4784 int cts_prop_lines; // nr of properties above or below
4784 int cts_first_char; // width text props above the line 4785 int cts_first_char; // width text props above the line
4785 int cts_with_trailing; // include size of trailing props with 4786 int cts_with_trailing; // include size of trailing props with
4786 // last character 4787 // last character
4787 int cts_start_incl; // prop has true "start_incl" arg 4788 int cts_start_incl; // prop has true "start_incl" arg
4788 #endif 4789 #endif