Mercurial > vim
comparison src/if_py_both.h @ 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 | 62b3805506b3 |
children | 89486329d9e6 |
comparison
equal
deleted
inserted
replaced
15635:c51d2a06f5f9 | 15636:6f1c7e9a6393 |
---|---|
4031 return -1; | 4031 return -1; |
4032 | 4032 |
4033 self->win->w_cursor.lnum = lnum; | 4033 self->win->w_cursor.lnum = lnum; |
4034 self->win->w_cursor.col = col; | 4034 self->win->w_cursor.col = col; |
4035 self->win->w_set_curswant = TRUE; | 4035 self->win->w_set_curswant = TRUE; |
4036 #ifdef FEAT_VIRTUALEDIT | |
4037 self->win->w_cursor.coladd = 0; | 4036 self->win->w_cursor.coladd = 0; |
4038 #endif | |
4039 /* When column is out of range silently correct it. */ | 4037 /* When column is out of range silently correct it. */ |
4040 check_cursor_col_win(self->win); | 4038 check_cursor_col_win(self->win); |
4041 | 4039 |
4042 update_screen(VALID); | 4040 update_screen(VALID); |
4043 return 0; | 4041 return 0; |