mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
vim-patch:8.1.2104: the normal.c file is too big (#16389)
Problem: The normal.c file is too big.
Solution: Move do_pending_operator() to ops.c. (Yegappan Lakshmanan,
closes vim/vim#4999).
792cf5e1be
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/event/loop.h"
|
||||
#include "nvim/ex_eval.h"
|
||||
#include "nvim/iconv.h"
|
||||
@@ -533,6 +534,11 @@ EXTERN int VIsual_mode INIT(= 'v');
|
||||
/// true when redoing Visual.
|
||||
EXTERN int redo_VIsual_busy INIT(= false);
|
||||
|
||||
// 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
|
||||
|
||||
/// When pasting text with the middle mouse button in visual mode with
|
||||
/// restart_edit set, remember where it started so we can set Insstart.
|
||||
EXTERN pos_T where_paste_started;
|
||||
|
Reference in New Issue
Block a user