Lines Matching refs:undo
1 " Tests for the undo tree.
3 " undo-able pieces. Do that by setting 'undolevels'.
34 undo
62 undo
88 " Set 'undolevels' to split undo.
97 " will only undo the last 5 changes, end up with 13 - (5 + 1) = 7 lines
106 " will only undo the last 2 changes, end up with 13 - (2 + 1) = 10 lines
143 " Setup a buffer without creating undo entries
151 " Delete three characters and undo with g-
202 call assert_equal("\nNothing to undo", a)
257 " undojoin not allowed after undo
309 " calling setline() triggers undo sync
372 " Check that reading a truncated undo file doesn't hang.
408 silent undo
410 silent undo
419 " Test for undo working properly when executing commands from a register.
439 undo
448 undo
450 undo
453 undo 0
463 undo 2
464 undo 0
474 undo 1
475 undo 0
488 " undo or redo are noop if there is nothing to undo or redo
491 call assert_fails('undo 2', 'E830:')
494 undo
554 " Tests for the undo file
555 " Explicitly break changes up in undo-able pieces by setting 'undolevels'.
569 undo
580 undo
583 " add 10 lines, delete 6 lines, undo 3
610 undo
683 undo
685 undo
687 undo