| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.823 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.823 |
| Problem: Cursor moves after CTRL-A on alphabetic character. |
| Solution: (Hirohito Higashi, test by Christian Brabandt) |
| Files: src/testdir/test_increment.in, src/testdir/test_increment.ok, |
| src/ops.c |
| |
| |
| |
| |
| |
| *** 268,274 **** |
| Expected: |
| 1) <Ctrl-V>j$ <ctrl-a> |
| 2 |
| ! 1b |
| |
| |
| |
| --- 268,282 ---- |
| Expected: |
| 1) <Ctrl-V>j$ <ctrl-a> |
| 2 |
| ! 2a |
| ! |
| ! 20) increment a single letter |
| ! Text: |
| ! a |
| ! |
| ! Expected: |
| ! 1) <Ctrl-a> and cursor is on a |
| ! b |
| |
| |
| |
| |
| *** 386,391 **** |
| --- 394,406 ---- |
| k$ |
| :set nrformats&vim |
| |
| + :" Test 20 |
| + :set nrformats+=alpha |
| + :/^S20=/+,/^E20=/-y a |
| + :/^E20=/+put a |
| + :.put =col('.') |
| + :set nrformats&vim |
| + |
| :" Save the report |
| :/^# Test 1/,$w! test.out |
| :qa! |
| |
| *** 572,577 **** |
| --- 587,599 ---- |
| |
| |
| |
| + # Test 20 |
| + S20==== |
| + a |
| + E20==== |
| + |
| + |
| + |
| |
| ENDTEST |
| |
| |
| |
| |
| *** 271,276 **** |
| --- 271,285 ---- |
| 2a |
| |
| |
| + # Test 20 |
| + S20==== |
| + a |
| + E20==== |
| + |
| + b |
| + 1 |
| + |
| + |
| |
| ENDTEST |
| |
| |
| |
| |
| *** 5584,5589 **** |
| --- 5584,5590 ---- |
| did_change = TRUE; |
| (void)del_char(FALSE); |
| ins_char(firstdigit); |
| + curwin->w_cursor.col = col; |
| } |
| else |
| { |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 823, |
| /**/ |
| |
| -- |
| I'm sure that I asked CBuilder to do a "full" install. Looks like I got |
| a "fool" install, instead. Charles E Campbell, Jr, PhD |
| |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |