1
0
forked from aniani/vim

updated for version 7.4.186

Problem:    Insert in Visual mode sometimes gives incorrect results.
            (Dominique Pelle)
Solution:   Remember the original insert start position. (Christian Brabandt,
            Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2014-02-22 23:03:55 +01:00
parent 631abc35df
commit b1d90a3d77
5 changed files with 23 additions and 5 deletions

View File

@@ -752,6 +752,12 @@ EXTERN pos_T saved_cursor /* w_cursor before formatting text. */
*/
EXTERN pos_T Insstart; /* This is where the latest
* insert/append mode started. */
/* This is where the latest insert/append mode started. In contrast to
* Insstart, this won't be reset by certain keys and is needed for
* op_insert(), to detect correctly where inserting by the user started. */
EXTERN pos_T Insstart_orig;
#ifdef FEAT_VREPLACE
/*
* Stuff for VREPLACE mode.