Mercurial > vim
diff src/fold.c @ 5735:50dbef5e774a v7.4.212
updated for version 7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Mar 2014 15:13:05 +0100 |
parents | 878ed73c7070 |
children | c1aa837853ea |
line wrap: on
line diff
--- a/src/fold.c +++ b/src/fold.c @@ -430,11 +430,9 @@ opFoldRange(first, last, opening, recurs } if (done == DONE_NOTHING) EMSG(_(e_nofold)); -#ifdef FEAT_VISUAL /* Force a redraw to remove the Visual highlighting. */ if (had_visual) redraw_curbuf_later(INVERTED); -#endif } /* openFold() {{{2 */ @@ -807,11 +805,9 @@ deleteFold(start, end, recursive, had_vi if (!did_one) { EMSG(_(e_nofold)); -#ifdef FEAT_VISUAL /* Force a redraw to remove the Visual highlighting. */ if (had_visual) redraw_curbuf_later(INVERTED); -#endif } else /* Deleting markers may make cursor column invalid. */ @@ -1065,7 +1061,6 @@ find_wl_entry(win, lnum) } /* foldAdjustVisual() {{{2 */ -#ifdef FEAT_VISUAL /* * Adjust the Visual area to include any fold at the start or end completely. */ @@ -1103,7 +1098,6 @@ foldAdjustVisual() #endif } } -#endif /* cursor_foldstart() {{{2 */ /*