0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.4.386

Problem:    When splitting a window the changelist position is wrong.
Solution:   Copy the changelist position. (Jacob Niehus)
This commit is contained in:
Bram Moolenaar
2014-07-30 14:05:00 +02:00
parent 278eb5820d
commit 23fb7a9955
10 changed files with 38 additions and 1 deletions

View File

@@ -1178,6 +1178,11 @@ win_split_ins(size, flags, new_wp, dir)
p_wh = size;
}
#ifdef FEAT_JUMPLIST
/* Keep same changelist position in new window. */
wp->w_changelistidx = oldwin->w_changelistidx;
#endif
/*
* make the new window the current window
*/