1
0
forked from aniani/vim

updated for version 7.4.098

Problem:    When using ":'<,'>del" errors may be given for the visual line
            numbers being out of range.
Solution:   Reset Visual mode in ":del". (Lech Lorens)
This commit is contained in:
Bram Moolenaar
2013-11-21 14:21:40 +01:00
parent 1e42f7ac16
commit d07c6e1e82
10 changed files with 54 additions and 7 deletions

View File

@@ -8570,6 +8570,11 @@ ex_operators(eap)
beginline(BL_SOL | BL_FIX);
}
#if defined(FEAT_VISUAL)
if (VIsual_active)
end_visual_mode();
#endif
switch (eap->cmdidx)
{
case CMD_delete: