comparison src/testdir/test61.in @ 2579:1c00ea3641a8 v7.3.005

updated for version 7.3.005 Problem: Crash when using undotree(). (Christian Brabandt) Solution: Increase the list reference count. Add a test for undotree() (Lech Lorens)
author Bram Moolenaar <bram@vim.org>
date Tue, 14 Sep 2010 12:47:37 +0200
parents e41433ea71df
children 2945fe016b93
comparison
equal deleted inserted replaced
2578:766918de9e3a 2579:1c00ea3641a8
1 Tests for undo tree. 1 Tests for undo tree.
2 Since this script is sourced we need to explicitly break changes up in 2 Since this script is sourced we need to explicitly break changes up in
3 undo-able pieces. Do that by setting 'undolevels'. 3 undo-able pieces. Do that by setting 'undolevels'.
4 Also tests :earlier and :later. 4 Also tests :earlier and :later.
5
6 STARTTEST
7 :echo undotree().entries
8 ENDTEST
5 9
6 STARTTEST 10 STARTTEST
7 :" Delete three characters and undo 11 :" Delete three characters and undo
8 Gx:set ul=100 12 Gx:set ul=100
9 x:set ul=100 13 x:set ul=100