Mercurial > vim
annotate src/testdir/test48.ok @ 13892:eadecbe4e390 v8.0.1817
patch 8.0.1817: a timer may change v:count unexpectedly
commit https://github.com/vim/vim/commit/b0f42ba60d9e6d101d103421ba0c351811615c15
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 12 15:38:26 2018 +0200
patch 8.0.1817: a timer may change v:count unexpectedly
Problem: A timer may change v:count unexpectedly.
Solution: Save and restore v:count and similar variables when a timer
callback is invoked. (closes #2897)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 May 2018 15:45:05 +0200 |
parents | 9dc52b404c1b |
children |
rev | line source |
---|---|
4013 | 1 , foo |
7 | 2 keyword keyword |
3 all your base | |
4 are belong to vim | |
5 1 2 3 4 5 7 | |
6 'i' <-- should be 3 ' ' | |
7 'C' <-- should be 3 ' ' | |
8 'a' <-- should be 4 ' ' | |
9 'A'<-- should be 0 ' ' | |
10 'D' <-- 'D' should be intact | |
11 this is a test | |
12 this is a test | |
13 this is a test | |
14 "r" x<-- should be 'x' | |
6468 | 15 "r" x <-- should be ' x ' |
7 | 16 [This line should contain only the text between the brackets.] |
17 v i m <-- should show the name of a noted text editor | |
18 6 . 0 <-- and its version number | |
19 | |
20 a | |
21 a | |
22 a | |
23 |