comparison src/ops.c @ 7011:6cde6404ff7c v7.4.823

patch 7.4.823 Problem: Cursor moves after CTRL-A on alphabetic character. Solution: (Hirohito Higashi, test by Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 19:36:42 +0200
parents b10995a2f7c3
children 9487ea110214
comparison
equal deleted inserted replaced
7010:f28fa3fc6821 7011:6cde6404ff7c
5582 } 5582 }
5583 curwin->w_cursor.col = col; 5583 curwin->w_cursor.col = col;
5584 did_change = TRUE; 5584 did_change = TRUE;
5585 (void)del_char(FALSE); 5585 (void)del_char(FALSE);
5586 ins_char(firstdigit); 5586 ins_char(firstdigit);
5587 curwin->w_cursor.col = col;
5587 } 5588 }
5588 else 5589 else
5589 { 5590 {
5590 if (col > 0 && ptr[col - 1] == '-' && !visual) 5591 if (col > 0 && ptr[col - 1] == '-' && !visual)
5591 { 5592 {