Mercurial > vim
diff src/proto/edit.pro @ 29757:beab53bb989e v9.0.0218
patch 9.0.0218: reading before the start of the line
Commit: https://github.com/vim/vim/commit/e98c88c44c308edaea5994b8ad4363e65030968c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 16 14:51:53 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Aug 2022 16:00:05 +0200 |
parents | 0082503ff2ff |
children | 04df44c52d65 |
line wrap: on
line diff
--- a/src/proto/edit.pro +++ b/src/proto/edit.pro @@ -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);