diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-15 17:54:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-15 17:54:43 +0200 |
commit | df9259abcee07f217e36f85f4fd77d059fb1bbe7 (patch) | |
tree | 6542d023d50d4ab2f417b1eed1d2c1981cbb7616 /src/testdir | |
parent | dab38d516effcab23c8381545d4b1e6be38bce5b (diff) | |
download | vim-git-df9259abcee07f217e36f85f4fd77d059fb1bbe7.tar.gz |
updated for version 7.3.1200v7.3.1200
Problem: When calling setline() from Insert mode, using CTRL-R =, undo does
not work properly. (Israel Chauca)
Solution: Sync undo after evaluating the expression. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test61.in | 10 | ||||
-rw-r--r-- | src/testdir/test61.ok | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/testdir/test61.in b/src/testdir/test61.in index 88831636a..2602e9759 100644 --- a/src/testdir/test61.in +++ b/src/testdir/test61.in @@ -84,6 +84,16 @@ ggO---:0put c ggO---:0put b ggO---:0put a ggO---:w >>test.out +:so small.vim +:set nocp +:enew! +oa +:set ul=100 +ob +:set ul=100 +o1a2=setline('.','1234') + +uu:%w >>test.out :qa! ENDTEST diff --git a/src/testdir/test61.ok b/src/testdir/test61.ok index 6e25e3bfd..0e3a52508 100644 --- a/src/testdir/test61.ok +++ b/src/testdir/test61.ok @@ -41,3 +41,6 @@ one one one two two three + +a +b |