mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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.
This commit is contained in:
@@ -346,9 +346,7 @@ struct u_header
|
||||
#endif
|
||||
int uh_flags; /* see below */
|
||||
pos_T uh_namedm[NMARKS]; /* marks before undo/after redo */
|
||||
#ifdef FEAT_VISUAL
|
||||
visualinfo_T uh_visual; /* Visual areas before undo/after redo */
|
||||
#endif
|
||||
time_t uh_time; /* timestamp when the change was made */
|
||||
long uh_save_nr; /* set when the file was saved after the
|
||||
changes in this block */
|
||||
@@ -1406,12 +1404,10 @@ struct file_buffer
|
||||
|
||||
pos_T b_namedm[NMARKS]; /* current named marks (mark.c) */
|
||||
|
||||
#ifdef FEAT_VISUAL
|
||||
/* These variables are set when VIsual_active becomes FALSE */
|
||||
visualinfo_T b_visual;
|
||||
# ifdef FEAT_EVAL
|
||||
#ifdef FEAT_EVAL
|
||||
int b_visual_mode_eval; /* b_visual.vi_mode for visualmode() */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
pos_T b_last_cursor; /* cursor position when last unloading this
|
||||
@@ -1980,7 +1976,6 @@ struct window_S
|
||||
time through cursupdate() to the
|
||||
current virtual column */
|
||||
|
||||
#ifdef FEAT_VISUAL
|
||||
/*
|
||||
* the next six are used to update the visual part
|
||||
*/
|
||||
@@ -1991,7 +1986,6 @@ struct window_S
|
||||
linenr_T w_old_visual_lnum; /* last known start of visual part */
|
||||
colnr_T w_old_visual_col; /* last known start of visual part */
|
||||
colnr_T w_old_curswant; /* last known value of Curswant */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* "w_topline", "w_leftcol" and "w_skipcol" specify the offsets for
|
||||
@@ -2293,10 +2287,8 @@ typedef struct oparg_S
|
||||
(inclusive) */
|
||||
int empty; /* op_start and op_end the same (only used by
|
||||
do_change()) */
|
||||
#ifdef FEAT_VISUAL
|
||||
int is_VIsual; /* operator on Visual area */
|
||||
int block_mode; /* current operator is Visual block mode */
|
||||
#endif
|
||||
colnr_T start_vcol; /* start col for block mode operator */
|
||||
colnr_T end_vcol; /* end col for block mode operator */
|
||||
#ifdef FEAT_AUTOCMD
|
||||
|
Reference in New Issue
Block a user