mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
updated for version 7.0f05
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Tests for string text objects. vim: set ft=vim :
|
||||
Tests for string and html text objects. vim: set ft=vim :
|
||||
|
||||
Note that the end-of-line moves the cursor to the next test line.
|
||||
|
||||
@@ -15,7 +15,14 @@ da"
|
||||
:set quoteescape=+*-
|
||||
di`
|
||||
$F"va"oha"i"rz
|
||||
k:put =matchstr(\"abcd\", \".\", 0, 2) " b
|
||||
:"
|
||||
/^<begin
|
||||
jfXdit
|
||||
0fXdit
|
||||
fXdat
|
||||
0fXdat
|
||||
:"
|
||||
:put =matchstr(\"abcd\", \".\", 0, 2) " b
|
||||
:put =matchstr(\"abcd\", \"..\", 0, 2) " bc
|
||||
:put =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
|
||||
:put =matchstr(\"abcd\", \".\", 0, -1) " a
|
||||
@@ -31,4 +38,11 @@ out " in "noXno"
|
||||
"'" 'blah' rep 'buh'
|
||||
bla `s*`d-`+++`l**` b`la
|
||||
voo "nah" sdf " asdf" sdf " sdf" sd
|
||||
|
||||
<begin>
|
||||
-<b>asdf<i>Xasdf</i>asdf</b>-
|
||||
-<b>asdX<i>a<i />sdf</i>asdf</b>-
|
||||
-<b>asdf<i>Xasdf</i>asdf</b>-
|
||||
-<b>asdX<i>as<b />df</i>asdf</b>-
|
||||
</begin>
|
||||
end:
|
||||
|
||||
@@ -5,6 +5,13 @@ out " in ""
|
||||
"'" 'blah'yyyyy'buh'
|
||||
bla `` b`la
|
||||
voo "zzzzzzzzzzzzzzzzzzzzzzzzzzzzsd
|
||||
|
||||
<begin>
|
||||
-<b>asdf<i></i>asdf</b>-
|
||||
-<b></b>-
|
||||
-<b>asdfasdf</b>-
|
||||
--
|
||||
</begin>
|
||||
b
|
||||
bc
|
||||
c
|
||||
|
||||
Reference in New Issue
Block a user