Mercurial > vim
comparison src/ex_cmds.c @ 15636:6f1c7e9a6393 v8.1.0826
patch 8.1.0826: too many #ifdefs
commit https://github.com/vim/vim/commit/29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 26 17:28:26 2019 +0100
patch 8.1.0826: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Jan 2019 17:30:15 +0100 |
parents | 1ec942f1b648 |
children | ad8b2c109b22 |
comparison
equal
deleted
inserted
replaced
15635:c51d2a06f5f9 | 15636:6f1c7e9a6393 |
---|---|
4330 if (solcol >= 0 && !p_sol) | 4330 if (solcol >= 0 && !p_sol) |
4331 { | 4331 { |
4332 /* 'sol' is off: Use last known column. */ | 4332 /* 'sol' is off: Use last known column. */ |
4333 curwin->w_cursor.col = solcol; | 4333 curwin->w_cursor.col = solcol; |
4334 check_cursor_col(); | 4334 check_cursor_col(); |
4335 #ifdef FEAT_VIRTUALEDIT | |
4336 curwin->w_cursor.coladd = 0; | 4335 curwin->w_cursor.coladd = 0; |
4337 #endif | |
4338 curwin->w_set_curswant = TRUE; | 4336 curwin->w_set_curswant = TRUE; |
4339 } | 4337 } |
4340 else | 4338 else |
4341 beginline(BL_SOL | BL_FIX); | 4339 beginline(BL_SOL | BL_FIX); |
4342 } | 4340 } |