Lines Matching refs:line2

56 static void foldMarkAdjustRecurse(garray_T *gap, linenr_T line1, linenr_T line2, long amount, long …
1494 linenr_T line2, in foldMarkAdjust() argument
1500 if (amount == MAXLNUM && line2 >= line1 && line2 - line1 >= -amount_after) in foldMarkAdjust()
1501 line2 = line1 - amount_after - 1; in foldMarkAdjust()
1504 if ((State & INSERT) && amount == (linenr_T)1 && line2 == MAXLNUM) in foldMarkAdjust()
1506 foldMarkAdjustRecurse(&wp->w_folds, line1, line2, amount, amount_after); in foldMarkAdjust()
1514 linenr_T line2, in foldMarkAdjustRecurse() argument
1528 if ((State & INSERT) && amount == (linenr_T)1 && line2 == MAXLNUM) in foldMarkAdjustRecurse()
1560 if (fp->fd_top > line2) in foldMarkAdjustRecurse()
1568 if (fp->fd_top >= top && last <= line2) in foldMarkAdjustRecurse()
1587 line2 - fp->fd_top, amount, amount_after); in foldMarkAdjustRecurse()
1588 if (last <= line2) in foldMarkAdjustRecurse()
1610 line2 - fp->fd_top, in foldMarkAdjustRecurse()
1613 fp->fd_len -= line2 - fp->fd_top + 1; in foldMarkAdjustRecurse()
1620 line2 - fp->fd_top, in foldMarkAdjustRecurse()
3071 foldMoveRange(garray_T *gap, linenr_T line1, linenr_T line2, linenr_T dest) in foldMoveRange() argument
3074 linenr_T range_len = line2 - line1 + 1; in foldMoveRange()
3075 linenr_T move_len = dest - line2; in foldMoveRange()
3085 foldMoveRange(&fp->fd_nested, line1 - fp->fd_top, line2 - in foldMoveRange()
3089 else if (fold_end(fp) > line2) in foldMoveRange()
3095 foldMarkAdjustRecurse(&fp->fd_nested, line1 - fp->fd_top, line2 - in foldMoveRange()
3114 else if (fp->fd_top > line2) in foldMoveRange()
3131 foldMarkAdjustRecurse(&fp->fd_nested, line2 + 1 - fp->fd_top, dest - in foldMoveRange()
3145 if (fp->fd_top <= line2) in foldMoveRange()
3148 if (fold_end(fp) > line2) in foldMoveRange()
3150 truncate_fold(fp, line2); in foldMoveRange()