diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-26 17:28:26 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-26 17:28:26 +0100 |
commit | 29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf (patch) | |
tree | 66144403e05268df8594b01d0298db4f570ed60f /src/search.c | |
parent | 3e460fd8b72db905fbf9f01b00371384ffc415b8 (diff) |
patch 8.1.0826: too many #ifdefsv8.1.0826
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/search.c b/src/search.c index 0c2ce95614..a4b4c4177c 100644 --- a/src/search.c +++ b/src/search.c @@ -1029,11 +1029,9 @@ searchit( end_pos->col = endpos.col; } } -#ifdef FEAT_VIRTUALEDIT pos->coladd = 0; if (end_pos != NULL) end_pos->coladd = 0; -#endif found = 1; first_match = FALSE; @@ -1919,9 +1917,7 @@ findmatchlimit( #endif pos = curwin->w_cursor; -#ifdef FEAT_VIRTUALEDIT pos.coladd = 0; -#endif linep = ml_get(pos.lnum); cpo_match = (vim_strchr(p_cpo, CPO_MATCH) != NULL); @@ -3027,9 +3023,7 @@ fwd_word( int i; int last_line; -#ifdef FEAT_VIRTUALEDIT curwin->w_cursor.coladd = 0; -#endif cls_bigword = bigword; while (--count >= 0) { @@ -3094,9 +3088,7 @@ bck_word(long count, int bigword, int stop) { int sclass; /* starting class */ -#ifdef FEAT_VIRTUALEDIT curwin->w_cursor.coladd = 0; -#endif cls_bigword = bigword; while (--count >= 0) { @@ -3163,9 +3155,7 @@ end_word( { int sclass; /* starting class */ -#ifdef FEAT_VIRTUALEDIT curwin->w_cursor.coladd = 0; -#endif cls_bigword = bigword; while (--count >= 0) { @@ -3233,9 +3223,7 @@ bckend_word( int sclass; /* starting class */ int i; -#ifdef FEAT_VIRTUALEDIT curwin->w_cursor.coladd = 0; -#endif cls_bigword = bigword; while (--count >= 0) { |