comparison src/testdir/test_increment.in @ 6977:b10995a2f7c3 v7.4.806

patch 7.4.806 Problem: CTRL-A in Visual mode doesn't work properly with "alpha" in 'nrformat'. Solution: Make it work. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Tue, 04 Aug 2015 18:23:22 +0200
parents 58d9f967ae1a
children 6cde6404ff7c
comparison
equal deleted inserted replaced
6976:d678a71cae27 6977:b10995a2f7c3
258 3 258 3
259 6 259 6
260 9 260 9
261 12 261 12
262 262
263 19) increment on number with nrformat including alpha
264 Text:
265 1
266 1a
267
268 Expected:
269 1) <Ctrl-V>j$ <ctrl-a>
270 2
271 1b
272
263 273
264 274
265 STARTTEST 275 STARTTEST
266 :so small.vim 276 :so small.vim
267 :" 277 :"
367 :" Test 18 377 :" Test 18
368 :/^S18=/+,/^E18=/-y a 378 :/^S18=/+,/^E18=/-y a
369 :/^E18=/+put a 379 :/^E18=/+put a
370 V3kg.. 380 V3kg..
371 381
382 :" Test 19
383 :set nrformats+=alpha
384 :/^S19=/+,/^E19=/-y a
385 :/^E19=/+put a
386 k$
387 :set nrformats&vim
388
372 :" Save the report 389 :" Save the report
373 :/^# Test 1/,$w! test.out 390 :/^# Test 1/,$w! test.out
374 :qa! 391 :qa!
375 392
376 393
545 0 562 0
546 E18==== 563 E18====
547 564
548 565
549 566
567 # Test 19
568 S19====
569 1
570 1a
571 E19====
572
573
550 574
551 575
552 ENDTEST 576 ENDTEST
553 577