1
0
forked from aniani/vim

patch 9.0.0218: reading before the start of the line

Problem:    Reading before the start of the line.
Solution:   When displaying "$" check the column is not negative.
This commit is contained in:
Bram Moolenaar
2022-08-16 14:51:53 +01:00
parent e1f3fd1d02
commit e98c88c44c
4 changed files with 13 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ void ins_redraw(int ready);
void edit_putchar(int c, int highlight);
void set_insstart(linenr_T lnum, int col);
void edit_unputchar(void);
void display_dollar(colnr_T col);
void display_dollar(colnr_T col_arg);
void undisplay_dollar(void);
void truncate_spaces(char_u *line);
void backspace_until_column(int col);