mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 13:08:33 +00:00
vim-patch: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) https://code.google.com/p/vim/source/detail?r=4d12112c5efae071aecbeed1a7196f18950457b3
This commit is contained in:

committed by
Thiago de Arruda

parent
ac62041138
commit
d11f805150
@@ -585,6 +585,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;
|
||||
|
||||
/*
|
||||
* Stuff for VREPLACE mode.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user