forked from aniani/vim
patch 8.0.1041: bogus characters when indenting during visual-block append
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
This commit is contained in:
@@ -35,6 +35,8 @@ colnr_T getvcol_nolist(pos_T *posp);
|
||||
void getvvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end);
|
||||
void getvcols(win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right);
|
||||
char_u *skipwhite(char_u *q);
|
||||
int getwhitecols_curline(void);
|
||||
int getwhitecols(char_u *p);
|
||||
char_u *skipdigits(char_u *q);
|
||||
char_u *skipbin(char_u *q);
|
||||
char_u *skiphex(char_u *q);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/* misc1.c */
|
||||
int get_whitespace_line_start(linenr_T lnum);
|
||||
int get_indent(void);
|
||||
int get_indent_lnum(linenr_T lnum);
|
||||
int get_indent_buf(buf_T *buf, linenr_T lnum);
|
||||
|
||||
Reference in New Issue
Block a user