1
0
forked from aniani/vim

patch 9.0.0603: with 'nosplitscroll' folds are not handled correctly

Problem:    With 'nosplitscroll' folds are not handled correctly.
Solution:   Take care of closed folds when moving the cursor. (Luuk van Baal,
            closes #11234)
This commit is contained in:
Luuk van Baal
2022-09-27 12:31:15 +01:00
committed by Bram Moolenaar
parent 7fc6c0e4da
commit 7c1cbb6cd4
8 changed files with 205 additions and 110 deletions

View File

@@ -19,7 +19,9 @@ char_u *add_char2buf(int c, char_u *s);
void beginline(int flags);
int oneright(void);
int oneleft(void);
linenr_T cursor_up_inner(win_T *wp, long n);
int cursor_up(long n, int upd_topline);
linenr_T cursor_down_inner(win_T *wp, long n);
int cursor_down(long n, int upd_topline);
int stuff_inserted(int c, long count, int no_esc);
char_u *get_last_insert(void);