forked from aniani/vim
updated for version 7.2-161
This commit is contained in:
@@ -1023,6 +1023,9 @@ mark_adjust(line1, line2, amount, amount_after)
|
||||
int fnum = curbuf->b_fnum;
|
||||
linenr_T *lp;
|
||||
win_T *win;
|
||||
#ifdef FEAT_WINDOWS
|
||||
tabpage_T *tab;
|
||||
#endif
|
||||
|
||||
if (line2 < line1 && amount_after == 0L) /* nothing to do */
|
||||
return;
|
||||
@@ -1064,7 +1067,7 @@ mark_adjust(line1, line2, amount, amount_after)
|
||||
/* quickfix marks */
|
||||
qf_mark_adjust(NULL, line1, line2, amount, amount_after);
|
||||
/* location lists */
|
||||
FOR_ALL_WINDOWS(win)
|
||||
FOR_ALL_TAB_WINDOWS(tab, win)
|
||||
qf_mark_adjust(win, line1, line2, amount, amount_after);
|
||||
#endif
|
||||
|
||||
@@ -1086,7 +1089,7 @@ mark_adjust(line1, line2, amount, amount_after)
|
||||
/*
|
||||
* Adjust items in all windows related to the current buffer.
|
||||
*/
|
||||
FOR_ALL_WINDOWS(win)
|
||||
FOR_ALL_TAB_WINDOWS(tab, win)
|
||||
{
|
||||
#ifdef FEAT_JUMPLIST
|
||||
if (!cmdmod.lockmarks)
|
||||
|
Reference in New Issue
Block a user