annotate src/testdir/test23.in @ 11392:dc2800c3572b
v8.0.0581
patch 8.0.0581: moving folded text is sometimes not correct
commit https://github.com/vim/vim/commit/94be619e30e82d28cadeea5e0766c6f5c321ff8b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 22 22:40:11 2017 +0200
patch 8.0.0581: moving folded text is sometimes not correct
Problem: Moving folded text is sometimes not correct.
Solution: Bail out when "move_end" is zero. (Matthew Malcomson)
author |
Christian Brabandt <cb@256bit.org> |
date |
Sat, 22 Apr 2017 22:45:04 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 Tests for complicated + argument to :edit command
|
|
2
|
|
3 STARTTEST
|
|
4 :$-1w! Xfile1
|
|
5 :$w! Xfile2
|
|
6 :edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
|
|
7 :w! test.out
|
|
8 :e Xfile1
|
|
9 :w >> test.out
|
|
10 :qa!
|
|
11 ENDTEST
|
|
12
|
|
13 The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar"
|
|
14 foo|bar
|
|
15 foo/bar
|