forked from aniani/vim
patch 9.0.0901: setting w_leftcol and handling side effects is confusing
Problem: Setting w_leftcol and handling side effects is confusing. Solution: Use a function to set w_leftcol() and handle side effects.
This commit is contained in:
@@ -19,7 +19,7 @@ void check_cursor_col_win(win_T *win);
|
||||
void check_cursor(void);
|
||||
void check_visual_pos(void);
|
||||
void adjust_cursor_col(void);
|
||||
int leftcol_changed(void);
|
||||
int set_leftcol(colnr_T leftcol);
|
||||
int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars);
|
||||
int vim_isspace(int x);
|
||||
int simplify_key(int key, int *modifiers);
|
||||
|
||||
Reference in New Issue
Block a user