Mercurial > vim
annotate src/testdir/test_erasebackword.in @ 9007:d5c6f1c5cd28 v7.4.1789
commit https://github.com/vim/vim/commit/437905c25d4cedfa16d0f87392e4a000d22362b7
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 26 19:01:05 2016 +0200
patch 7.4.1789
Problem: Cannot use ch_read() in the close callback.
Solution: Do not discard the channel if there is readahead. Do not discard
readahead if there is a close callback.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 26 Apr 2016 19:15:06 +0200 |
parents | f202e335d491 |
children | ae45d497868f |
rev | line source |
---|---|
6716
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
1 Test for erasing backword |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
2 |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
3 STARTTEST |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
4 :so small.vim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
5 :so mbyte.vim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
6 :set encoding=utf-8 |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
7 G |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
8 o wwwこんにちわ世界ワールドvim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
9 o wwwこんにちわ世界ワールドvim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
10 o wwwこんにちわ世界ワールドvim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
11 o wwwこんにちわ世界ワールドvim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
12 o wwwこんにちわ世界ワールドvim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
13 o wwwこんにちわ世界ワールドvim |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
14 :/^test/,$w! test.out |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
15 :qa! |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
16 ENDTEST |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
17 |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
18 test starts here: |
f202e335d491
Add test files for patch 7.4.680.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
19 |