summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-30 23:12:16 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-30 23:12:16 +0200
commit792cf5e1bec04c6d6d70cfbb9ef24c798b469731 (patch)
tree6981aedd79c3abd88a2d1be8d818e6ecb3ac5791 /src/globals.h
parent18223a592efa4399e3951c86deeb712a13b05ca5 (diff)
downloadvim-git-792cf5e1bec04c6d6d70cfbb9ef24c798b469731.tar.gz
patch 8.1.2104: the normal.c file is too bigv8.1.2104
Problem: The normal.c file is too big. Solution: Move do_pending_operator() to ops.c. (Yegappan Lakshmanan, closes #4999).
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index ac6bd8d81..105c45138 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -778,6 +778,13 @@ EXTERN int VIsual_mode INIT(= 'v');
EXTERN int redo_VIsual_busy INIT(= FALSE);
// TRUE when redoing Visual
+/*
+ * The Visual area is remembered for reselection.
+ */
+EXTERN int resel_VIsual_mode INIT(= NUL); // 'v', 'V', or Ctrl-V
+EXTERN linenr_T resel_VIsual_line_count; // number of lines
+EXTERN colnr_T resel_VIsual_vcol; // nr of cols or end col
+
#ifdef FEAT_MOUSE
/*
* When pasting text with the middle mouse button in visual mode with