mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
updated for version 7.4.267
Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat) Solution: Add the setmark argument to do_join(). (Christian Brabandt)
This commit is contained in:
@@ -36,6 +36,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
|
||||
test94.out test95.out test96.out test97.out test98.out \
|
||||
test99.out test100.out test101.out test102.out test103.out \
|
||||
test104.out test105.out test106.out \
|
||||
test_autoformat_join.out \
|
||||
test_eval.out \
|
||||
test_options.out
|
||||
|
||||
@@ -160,5 +161,6 @@ test103.out: test103.in
|
||||
test104.out: test104.in
|
||||
test105.out: test105.in
|
||||
test106.out: test106.in
|
||||
test_autoformat_join.out: test_autoformat_join.in
|
||||
test_eval.out: test_eval.in
|
||||
test_options.out: test_options.in
|
||||
|
||||
@@ -35,6 +35,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
|
||||
test94.out test95.out test96.out test98.out test99.out \
|
||||
test100.out test101.out test102.out test103.out test104.out \
|
||||
test105.out test106.out \
|
||||
test_autoformat_join.out \
|
||||
test_eval.out \
|
||||
test_options.out
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
|
||||
test94.out test95.out test96.out test98.out test99.out \
|
||||
test100.out test101.out test102.out test103.out test104.out \
|
||||
test105.out test106.out \
|
||||
test_autoformat_join.out \
|
||||
test_eval.out \
|
||||
test_options.out
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
|
||||
test94.out test95.out test96.out test98.out test99.out \
|
||||
test100.out test101.out test102.out test103.out test104.out \
|
||||
test105.out test106.out \
|
||||
test_autoformat_join.out \
|
||||
test_eval.out \
|
||||
test_options.out
|
||||
|
||||
|
||||
@@ -96,6 +96,7 @@ SCRIPT = test1.out test2.out test3.out test4.out test5.out \
|
||||
test95.out test96.out test98.out test99.out \
|
||||
test100.out test101.out test103.out test104.out \
|
||||
test105.out test106.out \
|
||||
test_autoformat_join.out \
|
||||
test_eval.out \
|
||||
test_options.out
|
||||
|
||||
|
||||
@@ -33,6 +33,8 @@ SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
|
||||
test94.out test95.out test96.out test97.out test98.out \
|
||||
test99.out test100.out test101.out test102.out test103.out \
|
||||
test104.out test105.out test106.out \
|
||||
test_autoformat_join.out \
|
||||
test_eval.out \
|
||||
test_options.out
|
||||
|
||||
SCRIPTS_GUI = test16.out
|
||||
|
||||
23
src/testdir/test_autoformat_join.in
Normal file
23
src/testdir/test_autoformat_join.in
Normal file
@@ -0,0 +1,23 @@
|
||||
Tests for setting the '[,'] marks when joining lines.
|
||||
|
||||
STARTTEST
|
||||
:so small.vim
|
||||
:/^\t\t/
|
||||
0gqj
|
||||
:let a=string(getpos("'[")).'/'.string(getpos("']"))
|
||||
:/^This line/;'}-join
|
||||
:let b=string(getpos("'[")).'/'.string(getpos("']"))
|
||||
:$put ='First test: Start/End '.string(a)
|
||||
:$put ='Second test: Start/End '.string(b)
|
||||
:/^\t\t/,$wq! test.out
|
||||
ENDTEST
|
||||
|
||||
|
||||
O sodales, ludite, vos qui
|
||||
attamen consulite per voster honur. Tua pulchra facies me fay planszer milies
|
||||
|
||||
This line.
|
||||
Should be joined with the next line
|
||||
and with this line
|
||||
|
||||
Results:
|
||||
8
src/testdir/test_autoformat_join.ok
Normal file
8
src/testdir/test_autoformat_join.ok
Normal file
@@ -0,0 +1,8 @@
|
||||
O sodales, ludite, vos qui attamen consulite per voster honur.
|
||||
Tua pulchra facies me fay planszer milies
|
||||
|
||||
This line. Should be joined with the next line and with this line
|
||||
|
||||
Results:
|
||||
First test: Start/End '[0, 16, 1, 0]/[0, 17, 1, 0]'
|
||||
Second test: Start/End '[0, 19, 11, 0]/[0, 19, 67, 0]'
|
||||
Reference in New Issue
Block a user