Mercurial > vim
comparison src/menu.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 | 9bd2372432cf |
children | 7fad90423bd2 |
comparison
equal
deleted
inserted
replaced
15635:c51d2a06f5f9 | 15636:6f1c7e9a6393 |
---|---|
2316 VIsual_mode = 'V'; | 2316 VIsual_mode = 'V'; |
2317 curwin->w_cursor.lnum = eap->line1; | 2317 curwin->w_cursor.lnum = eap->line1; |
2318 curwin->w_cursor.col = 1; | 2318 curwin->w_cursor.col = 1; |
2319 tpos.lnum = eap->line2; | 2319 tpos.lnum = eap->line2; |
2320 tpos.col = MAXCOL; | 2320 tpos.col = MAXCOL; |
2321 #ifdef FEAT_VIRTUALEDIT | |
2322 tpos.coladd = 0; | 2321 tpos.coladd = 0; |
2323 #endif | |
2324 } | 2322 } |
2325 | 2323 |
2326 /* Activate visual mode */ | 2324 /* Activate visual mode */ |
2327 VIsual_active = TRUE; | 2325 VIsual_active = TRUE; |
2328 VIsual_reselect = TRUE; | 2326 VIsual_reselect = TRUE; |