annotate src/testdir/test_changelist.in @ 9287:af25a1a875db v7.4.1926

commit https://github.com/vim/vim/commit/a890f5e34887bff7616bdb4b9ee0bf98c8d2a8f0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 12 23:03:19 2016 +0200 patch 7.4.1926 Problem: Possible crash with many history items. Solution: Avoid the index going past the last item.
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Jun 2016 23:15:07 +0200
parents 09af7cb358f0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6096
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Test changelist position after splitting window
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 Set 'undolevels' to make changelist for sourced file
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 STARTTEST
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :so small.vim
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 Gkylp:set ul=100
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 Gylp:set ul=100
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 gg
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :vsplit
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :try
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 : normal g;
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 : normal ggVGcpass
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :catch
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 : normal ggVGcfail
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :finally
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 : %w! test.out
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 :endtry
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 :qa!
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 ENDTEST
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 1
09af7cb358f0 updated for version 7.4.386
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 2