Problem: Cursor moves after CTRL-A on alphabetic character.
Solution: (Hirohito Higashi, test by Christian Brabandt)
did_change = TRUE;
(void)del_char(FALSE);
ins_char(firstdigit);
+ curwin->w_cursor.col = col;
}
else
{
Expected:
1) <Ctrl-V>j$ <ctrl-a>
2
- 1b
+ 2a
+
+20) increment a single letter
+Text:
+ a
+
+ Expected:
+ 1) <Ctrl-a> and cursor is on a
+ b
\16k$\ 1
:set nrformats&vim
+:" Test 20
+:set nrformats+=alpha
+:/^S20=/+,/^E20=/-y a
+:/^E20=/+put a
+\ 1:.put =col('.')
+:set nrformats&vim
+
:" Save the report
:/^# Test 1/,$w! test.out
:qa!
+# Test 20
+S20====
+a
+E20====
+
+
+
ENDTEST
2a
+# Test 20
+S20====
+a
+E20====
+
+b
+1
+
+
ENDTEST
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 823,
/**/
822,
/**/