diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-03-23 15:13:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-03-23 15:13:05 +0100 |
commit | f7ff6e85e8a4e84cff023f5db4b66ef85986605a (patch) | |
tree | 813913a9c1d1418b5b85e3a4bc414dbeb2b3f6a3 /src/structs.h | |
parent | a68783751647e3243ca6f22df62907efbdbccb02 (diff) | |
download | vim-git-f7ff6e85e8a4e84cff023f5db4b66ef85986605a.tar.gz |
updated for version 7.4.212v7.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.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/structs.h b/src/structs.h index 3f0a948b8..7a3d69219 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 |