├── tests ├── fetch015.msgok ├── move009.msgok ├── dupOver009.msgok ├── dupOver010.msgok ├── dupRange009.msgok ├── dupRange010.msgok ├── fetchvisual007.msgok ├── moveVisual005.msgok ├── moveVisual006.msgok ├── movevisual001.msgok ├── movevisual002.msgok ├── replace016.msgok ├── all.suite ├── dupOverVisual001.msgok ├── dupRangeVisual005.msgok ├── swap010.msgok ├── replace007.msgok ├── swapvisual007.msgok ├── replaceVisual007.msgok ├── replaceVisual008.msgok ├── replaceVisual009.msgok ├── replaceVisual010.msgok ├── replaceVisual011.msgok ├── replaceVisual017.msgok ├── replaceVisual018.msgok ├── replaceVisual019.msgok ├── replaceVisual020.msgok ├── swapVisual010.msgok ├── swapVisual011.msgok ├── swapVisual012.msgok ├── workarounds │ ├── _setup.vim │ ├── putEmptyLine001.ok │ └── putEmptyLine001.vim ├── bugs │ ├── _setup.vim │ ├── swapFoldMarker.ok │ └── swapFoldMarker.vim ├── replace016.vim ├── moveRepeat001.vim ├── dupRangeRepeat001.vim ├── moveIntra003incl.vim ├── moveIntra004incl.vim ├── replaceRepeat001.vim ├── swapIntra003incl.vim ├── dupOverRepeat001.vim ├── moveIntra001excl.vim ├── moveIntra001incl.vim ├── moveIntra002excl.vim ├── moveIntra002incl.vim ├── moveIntra016excl.vim ├── swapIntra001excl.vim ├── swapIntra001incl.vim ├── swapIntra004incl.vim ├── swapIntra016excl.vim ├── swapRepeat001.vim ├── blankRepeat001.vim ├── moveIntra015incl.vim ├── replaceIntra003incl.vim ├── replaceIntra004incl.vim ├── replaceIntra015incl.vim ├── replaceIntra016excl.vim ├── swapIntra002excl.vim ├── swapIntra002incl.vim ├── swapIntra015incl.vim ├── replaceIntra001excl.vim ├── replaceIntra001incl.vim ├── blankIntra001excl.vim ├── blankIntra001incl.vim ├── blankIntra002excl.vim ├── blankIntra002incl.vim ├── fetch001.vim ├── move013.vim ├── replaceIntra002excl.vim ├── replaceIntra002incl.vim ├── blankIntra003excl.vim ├── blankIntra003incl.vim ├── blankIntra004excl.vim ├── blankIntra004incl.vim ├── dupRange003.vim ├── dupRange004.vim ├── dupRange011.vim ├── dupRange012.vim ├── fetch004.vim ├── fetch005.vim ├── move001.vim ├── move002.vim ├── move003.vim ├── move004.vim ├── dupOver001.vim ├── dupOver011.vim ├── dupOver012.vim ├── dupOverRange001.vim ├── dupRange001.vim ├── dupRange002.vim ├── dupRangeOver001.vim ├── swap003.vim ├── dupOver002.vim ├── move014.vim ├── moveVisual001.vim ├── moveVisual002.vim ├── replace001.vim ├── replace002.vim ├── replace003.vim ├── swap001.vim ├── swap002.vim ├── swap004.vim ├── dupOver003.vim ├── dupOver004.vim ├── dupOver017.vim ├── dupOver018.vim ├── dupOverIntra003excl.vim ├── dupOverIntra003incl.vim ├── dupOverVisual007.vim ├── move011.vim ├── move012.vim ├── move016.vim ├── replace004.vim ├── swap011.vim ├── swap012.vim ├── blank002.vim ├── dupOver015.vim ├── dupOver016.vim ├── dupRangeRepeat002.vim ├── fetch010.vim ├── fetch011.vim ├── move015.vim ├── moveRepeat002.vim ├── replaceRepeat002.vim ├── blank001.vim ├── blank003.vim ├── blank004.vim ├── blank010.vim ├── blankRepeat002.vim ├── dupOverRepeat002.vim ├── dupOverVisual001.vim ├── dupOverVisual008.vim ├── fetch012.vim ├── fetch013.vim ├── replace010.vim ├── replace011.vim ├── swapRepeat002.vim ├── blank009.vim ├── dupOverIntraRepeat001incl.vim ├── dupRangeIntraRepeat002incl.vim ├── moveVisual010.vim ├── swap009.vim ├── blankIntraRepeat001incl.vim ├── dupOverIntraRepeat002incl.vim ├── dupOverVisual002.vim ├── moveVisual003.vim ├── moveVisual004.vim ├── moveVisual009.vim ├── replace012.vim ├── replace013.vim ├── replaceIntraRepeat010excl.vim ├── blankIntraRepeat002incl.vim ├── blankIntraRepeat006incl.vim ├── dupOverIntraRepeat006incl.vim ├── dupOverVisual009.vim ├── dupOverVisual010.vim ├── dupRangeIntraRepeat006incl.vim ├── fetchRepeat001.vim ├── fetchVisual015.vim ├── moveIntraRepeat003excl.vim ├── blankIntraRepeat004incl.vim ├── dupOverIntraRepeat004excl.vim ├── dupOverIntraRepeat004incl.vim ├── dupRangeIntraRepeat004incl.vim ├── fetch003.vim ├── moveIntra007incl.vim ├── moveIntraRepeat002incl.vim ├── moveIntraRepeat004incl.vim ├── moveIntraRepeat005excl.vim ├── moveVisual005.vim ├── moveVisual006.vim ├── replaceIntra010incl.vim ├── replaceIntraRepeat002incl.vim ├── replaceIntraRepeat003excl.vim ├── replaceIntraRepeat004incl.vim ├── replaceIntraRepeat005excl.vim ├── swapIntra007incl.vim ├── swapIntraRepeat003excl.vim ├── swapIntraRepeat005excl.vim ├── fetch002.vim ├── fetchVisual005.vim ├── fetchVisual006.vim ├── replaceIntra011excl.vim ├── replaceVisual005.vim ├── replaceVisual006.vim ├── replaceVisual010.vim ├── replaceVisual011.vim ├── swapIntraRepeat002incl.vim ├── swapIntraRepeat004incl.vim ├── swapVisual010.vim ├── swapVisual011.vim ├── swapVisual012.vim ├── dupRangeIntra001excl.vim ├── dupRangeIntra001incl.vim ├── dupRangeIntra002excl.vim ├── dupRangeIntra002incl.vim ├── fetchVisual001.vim ├── fetchVisual002.vim ├── replaceIntra007incl.vim ├── replaceVisual001.vim ├── replaceVisual002.vim ├── swap007.vim ├── swap008.vim ├── swap015.vim ├── dupOverIntra001excl.vim ├── dupOverIntra001incl.vim ├── dupOverIntra004excl.vim ├── dupOverIntra004incl.vim ├── dupOverIntra006excl.vim ├── dupOverIntra006incl.vim ├── dupRangeIntra003excl.vim ├── dupRangeIntra003incl.vim ├── fetchVisual010.vim ├── dupOverIntra002excl.vim ├── dupOverIntra002incl.vim ├── dupOverIntra005excl.vim ├── dupOverIntra005incl.vim ├── dupOverIntra007excl.vim ├── dupOverIntra007incl.vim ├── dupOverRange002.vim ├── dupOverRangeRepeat001.vim ├── dupRangeIntra004excl.vim ├── dupRangeIntra004incl.vim ├── dupRangeOver002.vim ├── dupRangeOverRepeat001.vim ├── fetchVisual011.vim ├── swap010.vim ├── swapVisual001.vim ├── swapVisual005.vim ├── swapVisual006.vim ├── swapVisual015.vim ├── swapVisual016.vim ├── dupRangeVisual001.vim ├── dupRangeVisual002.vim ├── move005.vim ├── move006.vim ├── swapVisual002.vim ├── dupOver005.vim ├── dupOver019.vim ├── dupOverIntra009excl.vim ├── dupOverIntra009incl.vim ├── fetch006.vim ├── fetch007.vim ├── fetchVisual003.vim ├── fetchVisual004.vim ├── moveIntraRepeat003incl.vim ├── replaceIntraRepeat003incl.vim ├── replaceVisual003.vim ├── replaceVisual004.vim ├── swap005.vim ├── dupOver006.vim ├── dupOver020.vim ├── dupOverIntra008excl.vim ├── dupOverIntra008incl.vim ├── dupRangeVisual005.vim ├── dupRangeVisual006.vim ├── move007.vim ├── move008.vim ├── replace005.vim ├── swap006.vim ├── swapIntraRepeat003incl.vim ├── dupOverIntraRepeat003incl.vim ├── dupRange017.vim ├── replace006.vim ├── swapVisual014.vim ├── blankIntraRepeat003incl.vim ├── dupOver007.vim ├── dupRange019.vim ├── dupRangeVisual003.vim ├── fetchRepeat002.vim ├── fetchRepeat004.vim ├── move009.vim ├── moveVisual007.vim ├── moveVisual008.vim ├── swapVisual003.vim ├── swapVisual004.vim ├── swapVisual013.vim ├── dupOver008.vim ├── dupOverVisual005.vim ├── dupRange007.vim ├── dupRange008.vim ├── dupRange018.vim ├── dupRangeVisual004.vim ├── fetch008.vim ├── fetchVisual013.vim ├── moveIntraRepeat007excl.vim ├── moveIntraRepeat008excl.vim ├── replaceIntra006incl.vim ├── swapIntraRepeat007excl.vim ├── swapIntraRepeat008excl.vim ├── dupOverVisual006.vim ├── fetch009.vim ├── fetch014.vim ├── fetch015.vim ├── fetchVisual014.vim ├── replaceIntraRepeat007excl.vim ├── replaceIntraRepeat008excl.vim ├── replace014.vim ├── dupOverVisual004.vim ├── replace015.vim ├── blank007.vim ├── blank008.vim ├── dupOver009.vim ├── dupOverVisual003.vim ├── dupRange009.vim ├── dupRange010.vim ├── replace007.vim ├── dupRange015.vim ├── fetchRepeat003.vim ├── fetchVisual017.vim ├── moveIntraRepeat006incl.vim ├── blank006.vim ├── fetchVisual012.vim ├── fetchVisual018.vim ├── replaceIntraRepeat006incl.vim ├── swapIntraRepeat006incl.vim ├── blank005.vim ├── fetchVisual007.vim ├── fetchVisual008.vim ├── replaceVisual007.vim ├── replaceVisual008.vim ├── replaceVisual017.vim ├── replaceVisual018.vim ├── swap017.vim ├── blankVisual001.vim ├── blankVisual002.vim ├── fetchVisual009.vim ├── replaceVisual009.vim ├── swapVisual007.vim ├── fetchVisual016.vim ├── replaceIntra005excl.vim ├── replaceIntra005incl.vim ├── swap018.vim ├── move010.vim ├── swap019.vim ├── swapVisual017.vim ├── swapVisual018.vim ├── moveIntra005incl.vim ├── swapIntra005incl.vim ├── swapVisual009.vim ├── fetchVisual019.vim ├── fetchVisual020.vim ├── dupOverIntraVirtualEdit002excl.vim ├── replaceVisual019.vim ├── replaceVisual020.vim ├── swapVisual008.vim ├── dupOverIntraVirtualEdit001excl.vim ├── swap016.vim ├── dupOver010.vim ├── dupOverIntraNonDefaultWidth001excl.vim ├── dupOverIntraNonDefaultWidth001incl.vim ├── dupOverRange010.vim ├── dupRangeOver010.vim ├── swapVisual019.vim ├── dupOverRange009.vim ├── dupRangeOver009.vim ├── moveIntra010incl.vim ├── moveIntra011excl.vim ├── swapIntra010incl.vim ├── swapIntra011excl.vim ├── swapIntra005excl.vim ├── swapVisual020.vim ├── replace007.ok ├── replaceVisual018.ok ├── keepExprReg001.vim ├── replaceVisual020.ok ├── replace001.ok ├── replace012.ok ├── replace013.ok ├── fetch010.ok ├── fetch011.ok ├── move001.ok ├── move002.ok ├── move003.ok ├── move004.ok ├── move005.ok ├── move006.ok ├── move007.ok ├── move008.ok ├── move009.ok ├── move010.ok ├── move011.ok ├── move012.ok ├── move013.ok ├── move014.ok ├── move015.ok ├── move016.ok ├── replace002.ok ├── replace003.ok ├── replace004.ok ├── replace005.ok ├── replaceIntra005excl.ok ├── replaceIntra005incl.ok ├── swap001.ok ├── swap002.ok ├── swap003.ok ├── swap004.ok ├── swap005.ok ├── swap006.ok ├── swap007.ok ├── swap008.ok ├── swap009.ok ├── swap010.ok ├── swap011.ok ├── swap012.ok ├── swap015.ok ├── swap016.ok ├── swap017.ok ├── swap018.ok ├── swap019.ok ├── template.txt ├── blank001.ok ├── blank002.ok ├── blank005.ok ├── blank006.ok ├── blank007.ok ├── blank008.ok ├── blank009.ok ├── blank010.ok ├── moveRepeat001.ok ├── moveRepeat002.ok ├── moveVisual001.ok ├── moveVisual002.ok ├── moveVisual003.ok ├── moveVisual004.ok ├── moveVisual005.ok ├── moveVisual006.ok ├── moveVisual007.ok ├── moveVisual008.ok ├── moveVisual009.ok ├── moveVisual010.ok ├── replace006.ok ├── replace010.ok ├── replace011.ok ├── replace016.ok ├── replaceVisual006.ok ├── swapRepeat001.ok ├── swapRepeat002.ok ├── swapVisual001.ok ├── swapVisual002.ok ├── swapVisual003.ok ├── swapVisual004.ok ├── swapVisual005.ok ├── swapVisual006.ok ├── swapVisual007.ok ├── swapVisual008.ok ├── swapVisual009.ok ├── swapVisual010.ok ├── swapVisual011.ok ├── swapVisual012.ok ├── swapVisual013.ok ├── swapVisual014.ok ├── swapVisual015.ok ├── swapVisual016.ok ├── swapVisual017.ok ├── swapVisual018.ok ├── swapVisual019.ok ├── swapVisual020.ok ├── blankIntra001excl.ok ├── blankIntra001incl.ok ├── blankIntra002excl.ok ├── blankIntra002incl.ok ├── dupOverIntra004.ok ├── moveIntra001excl.ok ├── moveIntra001incl.ok ├── moveIntra002excl.ok ├── moveIntra002incl.ok ├── moveIntra003incl.ok ├── moveIntra004incl.ok ├── moveIntra007incl.ok ├── moveIntra010incl.ok ├── moveIntra011excl.ok ├── moveIntra015incl.ok └── moveIntra016excl.ok ├── .gitignore ├── LineJuggler.manifest └── .github └── ISSUE_TEMPLATE └── feature_request.md /tests/fetch015.msgok: -------------------------------------------------------------------------------- 1 | 3 more lines 2 | -------------------------------------------------------------------------------- /tests/move009.msgok: -------------------------------------------------------------------------------- 1 | 6 lines moved 2 | -------------------------------------------------------------------------------- /tests/dupOver009.msgok: -------------------------------------------------------------------------------- 1 | 6 more lines 2 | -------------------------------------------------------------------------------- /tests/dupOver010.msgok: -------------------------------------------------------------------------------- 1 | 6 more lines 2 | -------------------------------------------------------------------------------- /tests/dupRange009.msgok: -------------------------------------------------------------------------------- 1 | 6 more lines 2 | -------------------------------------------------------------------------------- /tests/dupRange010.msgok: -------------------------------------------------------------------------------- 1 | 6 more lines 2 | -------------------------------------------------------------------------------- /tests/fetchvisual007.msgok: -------------------------------------------------------------------------------- 1 | 5 more lines 2 | -------------------------------------------------------------------------------- /tests/moveVisual005.msgok: -------------------------------------------------------------------------------- 1 | /E134: .*/ 2 | -------------------------------------------------------------------------------- /tests/moveVisual006.msgok: -------------------------------------------------------------------------------- 1 | /E134: .*/ 2 | -------------------------------------------------------------------------------- /tests/movevisual001.msgok: -------------------------------------------------------------------------------- 1 | 3 lines moved 2 | -------------------------------------------------------------------------------- /tests/movevisual002.msgok: -------------------------------------------------------------------------------- 1 | 3 lines moved 2 | -------------------------------------------------------------------------------- /tests/replace016.msgok: -------------------------------------------------------------------------------- 1 | Replaced 2 lines 2 | -------------------------------------------------------------------------------- /tests/all.suite: -------------------------------------------------------------------------------- 1 | . 2 | bugs 3 | workarounds 4 | -------------------------------------------------------------------------------- /tests/dupOverVisual001.msgok: -------------------------------------------------------------------------------- 1 | 3 more lines 2 | -------------------------------------------------------------------------------- /tests/dupRangeVisual005.msgok: -------------------------------------------------------------------------------- 1 | 6 more lines 2 | -------------------------------------------------------------------------------- /tests/swap010.msgok: -------------------------------------------------------------------------------- 1 | 2 lines swapped with 3 lines 2 | -------------------------------------------------------------------------------- /tests/replace007.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 1 line 2 | -------------------------------------------------------------------------------- /tests/swapvisual007.msgok: -------------------------------------------------------------------------------- 1 | 3 lines swapped with 5 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual007.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 5 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual008.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 4 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual009.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 9 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual010.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 4 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual011.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 4 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual017.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 6 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual018.msgok: -------------------------------------------------------------------------------- 1 | Replaced 3 lines with 1 line 2 | -------------------------------------------------------------------------------- /tests/replaceVisual019.msgok: -------------------------------------------------------------------------------- 1 | Replaced 4 lines with 8 lines 2 | -------------------------------------------------------------------------------- /tests/replaceVisual020.msgok: -------------------------------------------------------------------------------- 1 | Replaced 10 lines with 6 lines 2 | -------------------------------------------------------------------------------- /tests/swapVisual010.msgok: -------------------------------------------------------------------------------- 1 | Overlap in the ranges to swap 2 | -------------------------------------------------------------------------------- /tests/swapVisual011.msgok: -------------------------------------------------------------------------------- 1 | Overlap in the ranges to swap 2 | -------------------------------------------------------------------------------- /tests/swapVisual012.msgok: -------------------------------------------------------------------------------- 1 | Overlap in the ranges to swap 2 | -------------------------------------------------------------------------------- /tests/workarounds/_setup.vim: -------------------------------------------------------------------------------- 1 | call vimtest#AddDependency('vim-ingo-library') 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.msgout 2 | *.msgresult 3 | *.out 4 | *.tap 5 | doc/*.description 6 | doc/*.install 7 | tags 8 | -------------------------------------------------------------------------------- /tests/bugs/_setup.vim: -------------------------------------------------------------------------------- 1 | call vimtest#AddDependency('vim-ingo-library') 2 | runtime plugin/LineJuggler.vim 3 | -------------------------------------------------------------------------------- /tests/workarounds/putEmptyLine001.ok: -------------------------------------------------------------------------------- 1 | first line 2 | new 1 3 | new 2; v empty line here 4 | 5 | last line 6 | -------------------------------------------------------------------------------- /tests/bugs/swapFoldMarker.ok: -------------------------------------------------------------------------------- 1 | first line 2 | 3 | " {{{ 4 | folded 5 | 6 | here 7 | " }}} 8 | 9 | last line 10 | -------------------------------------------------------------------------------- /LineJuggler.manifest: -------------------------------------------------------------------------------- 1 | autoload/LineJuggler.vim 2 | autoload/LineJuggler/IntraLine.vim 3 | plugin/LineJuggler.vim 4 | doc/LineJuggler.txt 5 | -------------------------------------------------------------------------------- /tests/replace016.vim: -------------------------------------------------------------------------------- 1 | " Test replacing a fold with the same sized fold. 2 | 3 | set report=1 4 | execute '6normal 2]r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of moving current line two up. 2 | 3 | execute '12normal w2[e' 4 | 9normal . 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRangeRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating two lines up. 2 | 3 | execute '12normal w2[D' 4 | 10normal . 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveIntra003incl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection 2 up. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve2[e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/moveIntra004incl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection 2 down. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve2]e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of replacing with two lines up. 2 | 3 | execute '12normal w2]r' 4 | 9normal . 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swapIntra003incl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection 2 up. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve2[E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/dupOverRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating current line two up. 2 | 3 | execute '12normal w2[d' 4 | 9normal . 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveIntra001excl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection directly up. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve[e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/moveIntra001incl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection directly up. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve[e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/moveIntra002excl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection directly down. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve]e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/moveIntra002incl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection directly down. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve]e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/moveIntra016excl.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the last line. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve99]e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapIntra001excl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection directly up. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve[E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapIntra001incl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection directly up. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve[E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapIntra004incl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection 2 down. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve2]E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapIntra016excl.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the last line. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve99]E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of exchanging current line with two up. 2 | 3 | execute '12normal w2[E' 4 | 18normal . 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/blankRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of inserting blank line after selection. 2 | 3 | execute '12normal w2] ' 4 | 10normal . 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveIntra015incl.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the first line. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve99[e 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceIntra003incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection from 2 up. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve2]r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceIntra004incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection from 2 down. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve2[r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceIntra015incl.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the first line. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve99]r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceIntra016excl.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the last line. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve99[r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapIntra002excl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection directly down. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve]E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapIntra002incl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection directly down. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve]E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/swapIntra015incl.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the first line. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve99[E 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceIntra001excl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection directly from up. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve]r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceIntra001incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection directly from up. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve]r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra001excl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise blank before selection. 2 | 3 | set selection=exclusive 4 | 5 | execute '10normal wwve[ ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra001incl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise blank before selection. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwve[ ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra002excl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise blank after selection. 2 | 3 | set selection=exclusive 4 | 5 | execute '10normal wwveo] ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra002incl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise blank after selection. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwveo] ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/fetch001.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line up. 2 | " Tests that the cursor moves to the new line and moves to column 1. 3 | 4 | execute '12normal w]f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/move013.vim: -------------------------------------------------------------------------------- 1 | " Test moving second line one up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '2normal w[e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replaceIntra002excl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection directly from down. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve[r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/replaceIntra002incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection directly from down. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve[r 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra003excl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise 3 blanks before selection. 2 | 3 | set selection=exclusive 4 | 5 | execute '10normal wwve3[ ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra003incl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise 3 blanks before selection. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwve3[ ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra004excl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise 3 blanks after selection. 2 | 3 | set selection=exclusive 4 | 5 | execute '10normal wwve3] ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/blankIntra004incl.vim: -------------------------------------------------------------------------------- 1 | " Test inserting characterwise 3 blanks after selection. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwve3] ' 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/dupRange003.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '9normal w3[D' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRange004.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '9normal w3]D' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRange011.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating first line up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '1normal w[D' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRange012.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating last line down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '$normal w]D' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/fetch004.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line 3 up. 2 | " Tests that the cursor moves to the new line and moves to column 1. 3 | 4 | execute '12normal w3]f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/fetch005.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line 3 down. 2 | " Tests that the cursor moves to the new line and moves to column 1. 3 | 4 | execute '10normal w3[f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/move001.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line one up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w[e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/move002.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line one down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w]e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/move003.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line 3 up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w3[e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/move004.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line 3 down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '10normal w3]e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver001.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line one up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver011.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating first line one up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '1normal w[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver012.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating last line one down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '$normal w]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOverRange001.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines up over 1 line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | 9normal w[3d 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRange001.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w[D' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRange002.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w]D' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRangeOver001.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines up over 1 line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | 9normal w3[1D 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap003.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging current line with 3 up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w3[E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver002.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line one down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/move014.vim: -------------------------------------------------------------------------------- 1 | " Test moving second to last line one down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '$-1normal w]e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveVisual001.vim: -------------------------------------------------------------------------------- 1 | " Test moving visual selection 2 up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '13normal Vkkw2[e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveVisual002.vim: -------------------------------------------------------------------------------- 1 | " Test moving visual selection 2 down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '9normal Vjjw2]e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replace001.vim: -------------------------------------------------------------------------------- 1 | " Test replacing with one line up. 2 | " Tests that the cursor stays in the current line and moves to column 1. 3 | 4 | execute '12normal w]r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replace002.vim: -------------------------------------------------------------------------------- 1 | " Test replacing with one line down. 2 | " Tests that the cursor stays in the current line and moves to column 1. 3 | 4 | execute '12normal w[r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replace003.vim: -------------------------------------------------------------------------------- 1 | " Test replacing with one line 3 up. 2 | " Tests that the cursor stays in the current line and moves to column 1. 3 | 4 | execute '12normal w3]r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap001.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging current line with one up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w[E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap002.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging current line with one down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w]E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap004.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging current line with 3 down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '10normal w3]E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver003.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line across 3 up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w3[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver004.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line across 3 down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '10normal w3]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver017.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line across one up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w1[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver018.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line across one down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w1]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOverIntra003excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly down at the end of the line. 2 | 3 | set selection=exclusive 4 | 5 | 10normal $viw]d 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/dupOverIntra003incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly down at the end of the line. 2 | 3 | set selection=inclusive 4 | 5 | 10normal $viw]d 6 | 7 | call Quit(1) 8 | -------------------------------------------------------------------------------- /tests/dupOverVisual007.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection up. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '13normal Vkkw[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/move011.vim: -------------------------------------------------------------------------------- 1 | " Test moving first line one up. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '1normal w[e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move012.vim: -------------------------------------------------------------------------------- 1 | " Test moving last line one down. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '$normal w]e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move016.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the last line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w99]e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replace004.vim: -------------------------------------------------------------------------------- 1 | " Test replacing with one line 3 down. 2 | " Tests that the cursor stays in the current line and moves to column 1. 3 | 4 | execute '10normal w3[r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap011.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging first line up. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '1normal w[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swap012.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging last line down. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '$normal w]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/blank002.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line after current line. 2 | " Tests that the cursor remains on the original line and moves to column 1. 3 | 4 | execute '12normal w] ' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver015.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the first line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w99[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOver016.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the last line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w99]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRangeRepeat002.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of duplicating three lines down. 2 | 3 | runtime plugin/visualrepeat.vim 4 | 5 | execute '12normal w3]D' 6 | 9normal Vj. 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetch010.vim: -------------------------------------------------------------------------------- 1 | " Test fetching from above first line. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '1normal w]f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetch011.vim: -------------------------------------------------------------------------------- 1 | " Test fetching from below last line. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '$normal w[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move015.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count to the first line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '12normal w99[e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveRepeat002.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of moving current line three down. 2 | 3 | runtime plugin/visualrepeat.vim 4 | 5 | execute '12normal w3]e' 6 | 9normal Vj. 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/replaceRepeat002.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of replacing with three lines down. 2 | 3 | runtime plugin/visualrepeat.vim 4 | 5 | execute '12normal w3[r' 6 | 9normal Vj. 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/blank001.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line before current line. 2 | " Tests that the cursor remains on the original line and moves to column 1. 3 | 4 | execute '12normal w[ ' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/blank003.vim: -------------------------------------------------------------------------------- 1 | " Test inserting 3 blank lines before current line. 2 | " Tests that the cursor remains on the original line and moves to column 1. 3 | 4 | execute '12normal w3[ ' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/blank004.vim: -------------------------------------------------------------------------------- 1 | " Test inserting 3 blank lines after current line. 2 | " Tests that the cursor remains on the original line and moves to column 1. 3 | 4 | execute '12normal w3] ' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/blank010.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line at the end of the buffer. 2 | " Tests that the cursor remains on the original line and moves to column 1. 3 | 4 | execute '$normal w] ' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/blankRepeat002.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of inserting blank line before selection. 2 | 3 | runtime plugin/visualrepeat.vim 4 | 5 | execute '12normal w3[ ' 6 | 10normal Vj. 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOverRepeat002.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of duplicating current line three down. 2 | 3 | runtime plugin/visualrepeat.vim 4 | 5 | execute '12normal w3]d' 6 | 9normal Vj. 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOverVisual001.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection 2 up. 2 | " Tests that the cursor moves to the last duplicated line and to column 1. 3 | 4 | execute '13normal Vkkw2[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOverVisual008.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection across down. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '9normal Vjjw]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/fetch012.vim: -------------------------------------------------------------------------------- 1 | " Test fetch clipping of a large count to the first line. 2 | " Tests that the cursor moves to the new line and moves to column 1. 3 | 4 | execute '12normal w99]f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/fetch013.vim: -------------------------------------------------------------------------------- 1 | " Test fetch clipping of a large count to the last line. 2 | " Tests that the cursor moves to the new line and moves to column 1. 3 | 4 | execute '12normal w99[f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replace010.vim: -------------------------------------------------------------------------------- 1 | " Test replacing from above first line. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '1normal w]r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replace011.vim: -------------------------------------------------------------------------------- 1 | " Test replacing from below last line. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | execute '$normal w[r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapRepeat002.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of exchanging current line with three down. 2 | 3 | runtime plugin/visualrepeat.vim 4 | 5 | execute '12normal w3]E' 6 | 18normal . 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/blank009.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line at the start of the buffer. 2 | " Tests that the cursor remains on the original line and moves to column 1. 3 | 4 | execute '1normal w[ ' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOverIntraRepeat001incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection directly down. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve]d 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntraRepeat002incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection down twice. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwvel2]D 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/moveVisual010.vim: -------------------------------------------------------------------------------- 1 | " Test moving visual selection clipping to the last line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '9normal Vjjw99]e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap009.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging current line with folded lines. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | 21foldopen 5 | execute '25normal w2[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/blankIntraRepeat001incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of inserting characterwise blanks after selection. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwve3] ' 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntraRepeat002incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection down over some. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwvel4]d 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverVisual002.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection across 2 down. 2 | " Tests that the cursor moves to the last duplicated line and to column 1. 3 | 4 | execute '9normal Vjjw2]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveVisual003.vim: -------------------------------------------------------------------------------- 1 | " Test moving visual selection 2 up from the opposite end. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '11normal Vjjw4[e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveVisual004.vim: -------------------------------------------------------------------------------- 1 | " Test moving visual selection 2 down from the opposite end. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '11normal Vkkw4]e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveVisual009.vim: -------------------------------------------------------------------------------- 1 | " Test moving visual selection clipping to the first line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '13normal Vkkw99[e' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replace012.vim: -------------------------------------------------------------------------------- 1 | " Test replace clipping of a large count from the first line. 2 | " Tests that the cursor stays in the current line and moves to column 1. 3 | 4 | execute '12normal w99]r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replace013.vim: -------------------------------------------------------------------------------- 1 | " Test replace clipping of a large count from the last line. 2 | " Tests that the cursor stays in the current line and moves to column 1. 3 | 4 | execute '12normal w99[r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat010excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of replacing characterwise selection until exhaustion. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve3[r 6 | normal ..... 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/blankIntraRepeat002incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of inserting characterwise blanks before selection. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwve3[ ' 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/blankIntraRepeat006incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of inserting characterwise blanks over a closed fold. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwve3] ' 6 | 14normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntraRepeat006incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection over a closed fold. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwvel4]d 6 | 14normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverVisual009.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection clipping to the first line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '13normal Vkkw99[d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOverVisual010.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection clipping to the last line. 2 | " Tests that the cursor moves with the line and moves to column 1. 3 | 4 | execute '9normal Vjjw99]d' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRangeIntraRepeat006incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection over a closed fold. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwvel2]D 6 | 14normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/fetchRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of fetching two lines up. 2 | " Tests that the cursor moves to the new line and moves to column 1. 3 | 4 | execute '12normal w2]f' 5 | 10normal . 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual015.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines clipping from up. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | execute '12normal Vkw99]f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat003excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of moving characterwise selection up directly at the same position. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve[e 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/blankIntraRepeat004incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of inserting characterwise blanks at another position. 2 | 3 | set selection=inclusive 4 | 5 | execute '10normal wwve3] ' 6 | 12normal ee. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntraRepeat004excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection at another position. 2 | 3 | set selection=exclusive 4 | 5 | 22normal zvwv$]d.. 6 | 25normal zvw. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntraRepeat004incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwvel4]d 6 | 12normal ww. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntraRepeat004incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating characterwise selection at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwvel2]D 6 | 12normal ww. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/fetch003.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line over down. 2 | " Tests that this is the mirror of ]f. 3 | " Tests that the cursor moves to the new line and moves to column 1. 4 | 5 | execute '9normal w2[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/moveIntra007incl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | 4 | set selection=inclusive 5 | 6 | 18normal wve3[e 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat002incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of moving characterwise selection down over some at the same position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve3]e 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat004incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of moving characterwise selection down over some at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve3]e 6 | normal bb. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat005excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of moving characterwise selection up directly at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve[e 6 | normal $b. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/moveVisual005.vim: -------------------------------------------------------------------------------- 1 | " Test moving the visual selection up into itself. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that an error is printed. 4 | 5 | execute '10normal Vjjw[e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/moveVisual006.vim: -------------------------------------------------------------------------------- 1 | " Test moving the visual selection down into itself. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that an error is printed. 4 | 5 | execute '12normal Vkkw]e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceIntra010incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection from up fold. 2 | " Tests that the last line of the fold is the source. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve3]r 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat002incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of replacing characterwise selection from down at the same position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve3[r 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat003excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of replacing characterwise selection from up at the same position. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve3]r 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat004incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of replacing characterwise selection from up at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve3[r 6 | normal ^. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat005excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of replacing characterwise selection from up at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve]r 6 | normal $gE. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/swapIntra007incl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | 4 | set selection=inclusive 5 | 6 | 18normal wve3[E 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat003excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of swapping characterwise selection up directly at the same position. 2 | 3 | set selection=exclusive 4 | 5 | 10normal wwve[E 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat005excl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of swapping characterwise selection up directly at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve[E 6 | normal $b. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/fetch002.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line down. 2 | " Tests that the line next line is duplicated. 3 | " Tests that the cursor moves to the new line and moves to column 1. 4 | 5 | execute '12normal w[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual005.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines to directly adjacent text up. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | execute '12normal Vkw2]f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/fetchVisual006.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines to directly adjacent text down. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | execute '9normal Vjw[f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replaceIntra011excl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection from down fold. 2 | " Tests that the first line of the fold is the source. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve9[r 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/replaceVisual005.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection to directly adjacent text up. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | execute '12normal Vkw2]r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replaceVisual006.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection to directly adjacent text down. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | execute '9normal Vjw[r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replaceVisual010.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection clipping to the first line. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | execute '12normal Vkkw99]r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/replaceVisual011.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection clipping to the last line. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | execute '10normal Vjjw99[r' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat002incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of swapping characterwise selection down over some at the same position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve3]E 6 | normal . 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat004incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of swapping characterwise selection down over some at another position. 2 | 3 | set selection=inclusive 4 | 5 | 10normal wwve3]E 6 | normal bb. 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/swapVisual010.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to overlapping lines. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that an error is printed. 4 | 5 | execute '9normal Vjjw[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual011.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to overlapping lines. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that an error is printed. 4 | 5 | execute '9normal Vjjw3[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual012.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to overlapping lines. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that an error is printed. 4 | 5 | execute '11normal Vkkw2]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRangeIntra001excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve[D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntra001incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve[D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntra002excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve]D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntra002incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve]D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/fetchVisual001.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines 2 up. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '7normal Vkw3]f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual002.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines 2 down. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '3normal Vjw2[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceIntra007incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection from 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | 4 | set selection=inclusive 5 | 6 | 18normal wve3]r 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/replaceVisual001.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection 2 up. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '7normal Vkw3]r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceVisual002.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection 2 down. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '3normal Vjw2[r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swap007.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded line with same amount of lines up. 2 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 3 | 4 | execute '14normal znwzN5[E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap008.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded line with same amount of lines down. 2 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 3 | 4 | execute '6normal znwzN2]E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap015.vim: -------------------------------------------------------------------------------- 1 | " Test exchange clipping of a large count to the first line. 2 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 3 | 4 | execute '6normal znwzN99[E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOverIntra001excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly up. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra001incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly up. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra004excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up over 1. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve1[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra004incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up over 1. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve1[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra006excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up over 3. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve3[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra006incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up over 3. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve3[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntra003excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up twice. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve2[D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntra003incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up twice. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve2[D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/fetchVisual010.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines up from overlapping into the selection. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | execute '9normal Vjjw3]f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupOverIntra002excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly down. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra002incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly down. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra005excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down over 1. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve1]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra005incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down over 1. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve1]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra007excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down over 3. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve3]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra007incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down over 3. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve3]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverRange002.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines down over 2 lines. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | 11normal w2]3d 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOverRangeRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating 3 lines down over 2 lines. 2 | " Tests that both [count] (2) and number of skipped lines (3) are remembered. 3 | 4 | 11normal w2]3d 5 | 2normal . 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRangeIntra004excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down twice. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve2]D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeIntra004incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down twice. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve2]D 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeOver002.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines down over 2 lines. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | 11normal w3]2D 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRangeOverRepeat001.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of duplicating 3 lines down over 2 lines. 2 | " Tests that both [count] (3) and number of skipped lines (2) are remembered. 3 | 4 | 11normal w3]2D 5 | 2normal . 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual011.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines up from overlapping out of the selection. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | execute '9normal Vjjw]f' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swap010.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded line with different number of folded lines. 2 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 3 | 4 | execute '6normal znwzN7]E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swapVisual001.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection 2 up. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '7normal Vkw3[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual005.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to directly adjacent text up. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | execute '12normal Vkw2[E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swapVisual006.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to directly adjacent text down. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | execute '9normal Vjw]E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swapVisual015.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection clipping to the first line. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | execute '12normal Vkkw99[E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/swapVisual016.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection clipping to the last line. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | execute '10normal Vjjw99]E' 5 | 6 | call Quit() 7 | -------------------------------------------------------------------------------- /tests/dupRangeVisual001.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection up. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '7normal Vkw[D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRangeVisual002.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection down. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '3normal Vjw]D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move005.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line 2 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w2[e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move006.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line 2 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w2]e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual002.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection 2 down. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '3normal Vjw2]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOver005.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line 1 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w1[d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOver019.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal w3[d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOverIntra009excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down to overflowing end. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve99]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra009incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection down to overflowing end. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve99]d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/fetch006.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line with 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves to the new line and moves to column 1. 4 | 5 | execute '5normal w3]f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetch007.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line with 3 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves to the new line and moves to column 1. 4 | 5 | execute '5normal w3[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual003.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines 2 up from the opposite end. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '6normal Vjw4]f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual004.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines 2 down from the opposite end. 2 | " Tests that the cursor moves to the last new line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '4normal Vkw3[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat003incl.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of moving characterwise selection down over some. 2 | 3 | set selection=inclusive 4 | runtime plugin/visualrepeat.vim 5 | 6 | 10normal wwve2]e 7 | 9normal wwve. 8 | 9 | call Quit(1) 10 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat003incl.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of replacing characterwise selection from down. 2 | 3 | set selection=inclusive 4 | runtime plugin/visualrepeat.vim 5 | 6 | 10normal wwve2[r 7 | 9normal wwve. 8 | 9 | call Quit(1) 10 | -------------------------------------------------------------------------------- /tests/replaceVisual003.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection 2 up from the opposite end. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '6normal Vjw4]r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceVisual004.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection 2 down from the opposite end. 2 | " Tests that the cursor moves to the last replaced line and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '4normal Vkw3[r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swap005.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging current line with 2 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w2[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOver006.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line 1 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w1]d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOver020.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line 5 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal w5]d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOverIntra008excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up to overflowing beginning. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve99[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupOverIntra008incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection up to overflowing beginning. 2 | " Tests that the cursor moves to the end of the duplicated selection. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve99[d 7 | 8 | call Quit(1) 9 | -------------------------------------------------------------------------------- /tests/dupRangeVisual005.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection twice up. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '14normal Vjjw2[D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRangeVisual006.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection twice down. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '14normal Vjjw2]D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move007.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line up before closed fold. 2 | " Tests that the line is not moved into, but across the fold. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w[e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move008.vim: -------------------------------------------------------------------------------- 1 | " Test moving current line down after closed fold. 2 | " Tests that the line is not moved into, but across the fold. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w]e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replace005.vim: -------------------------------------------------------------------------------- 1 | " Test replacing with one line 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor stays in the current line and moves to column 1. 4 | 5 | execute '5normal w3]r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swap006.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging current line with 2 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w2]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat003incl.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of swapping characterwise selection down over some. 2 | 3 | set selection=inclusive 4 | runtime plugin/visualrepeat.vim 5 | 6 | 10normal wwve2]E 7 | 9normal wwve. 8 | 9 | call Quit(1) 10 | -------------------------------------------------------------------------------- /tests/dupOverIntraRepeat003incl.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of duplicating characterwise selection down over some. 2 | 3 | set selection=inclusive 4 | runtime plugin/visualrepeat.vim 5 | 6 | 10normal wwvel4]d 7 | 12normal wvel. 8 | 9 | call Quit(1) 10 | -------------------------------------------------------------------------------- /tests/dupRange017.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines running into a closed fold. 2 | " Tests that the closed fold is duplicated in full. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '12normal znwzN3]D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replace006.vim: -------------------------------------------------------------------------------- 1 | " Test replacing with one line 3 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor stays in the current line and moves to column 1. 4 | 5 | execute '5normal w3[r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual014.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging one-line visual selection 5 down a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V5]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/blankIntraRepeat003incl.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of inserting characterwise blanks after selection. 2 | 3 | set selection=inclusive 4 | runtime plugin/visualrepeat.vim 5 | 6 | execute '10normal wwve3] ' 7 | 12normal wvel. 8 | 9 | call Quit(1) 10 | -------------------------------------------------------------------------------- /tests/dupOver007.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line up before closed fold. 2 | " Tests that the line is not duplicated into, but before the fold. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w[d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRange019.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating from inside a closed fold. 2 | " Tests that all lines in the closed fold are duplicated in full. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '14normal znwzN[D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRangeVisual003.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection up from the opposite end. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '6normal Vjw[D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchRepeat002.vim: -------------------------------------------------------------------------------- 1 | " Test visual mode repeat of fetching three lines down. 2 | " Tests that the original (not the adapted) count is used. 3 | 4 | runtime plugin/visualrepeat.vim 5 | 6 | execute '12normal w3[f' 7 | 10normal Vj. 8 | 9 | call Quit() 10 | -------------------------------------------------------------------------------- /tests/fetchRepeat004.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of repeatedly fetching down. 2 | " Tests that subsequent lines are fetched (also considering folds). 3 | 4 | execute '10normal w8[f' 5 | normal . 6 | normal . 7 | normal . 8 | normal . 9 | 10 | call Quit() 11 | -------------------------------------------------------------------------------- /tests/move009.vim: -------------------------------------------------------------------------------- 1 | " Test moving current folded line one up. 2 | " Tests that all folded lines are moved, not just the current line. 3 | " Tests that the cursor stays relative to the fold and moves to column 1. 4 | 5 | execute '22normal znwzN[e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/moveVisual007.vim: -------------------------------------------------------------------------------- 1 | " Test moving one-line visual selection 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V3[e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/moveVisual008.vim: -------------------------------------------------------------------------------- 1 | " Test moving one-line visual selection 5 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V5]e' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual003.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection 2 up from the opposite end. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '6normal Vjw4[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual004.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection 2 down from the opposite end. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '4normal Vkw3]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual013.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging one-line visual selection 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V3[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOver008.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line down before closed fold. 2 | " Tests that the line is not duplicated into, but before the fold. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w]d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOverVisual005.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating one-line visual selection 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V3[d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRange007.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line up before closed fold. 2 | " Tests that the line is not duplicated into, but before the fold. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w[D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRange008.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current line down before closed fold. 2 | " Tests that the line is not duplicated into, but before the fold. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '5normal w]D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRange018.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating 3 lines running over and into a closed fold. 2 | " Tests that both closed folds are duplicated in full. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '20normal znwzN3]D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRangeVisual004.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection down from the opposite end. 2 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 3 | 4 | setlocal nofoldenable 5 | execute '4normal Vkw]D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetch008.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line up to below current closed fold. 2 | " Tests that the line is not fetched into, but across the fold. 3 | " Tests that the cursor moves to the new line and moves to column 1. 4 | 5 | execute '15normal znwzN]f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual013.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one-line visual selection from 3 up across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V3]f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat007excl.vim: -------------------------------------------------------------------------------- 1 | " Test moving first line one up on repeat. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=exclusive 6 | 7 | 10normal wwve99[e 8 | normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat008excl.vim: -------------------------------------------------------------------------------- 1 | " Test moving last line one down on repeat. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=exclusive 6 | 7 | 10normal wwve99]e 8 | normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/replaceIntra006incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection with too short line. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=inclusive 6 | 7 | 15normal zv$viw4]r 8 | 9 | call Quit(1) 10 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat007excl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping first line one up on repeat. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=exclusive 6 | 7 | 10normal wwve99[E 8 | normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat008excl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping last line one down on repeat. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=exclusive 6 | 7 | 10normal wwve99]E 8 | normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/dupOverVisual006.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating one-line visual selection 5 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V5]d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetch009.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one line 2 down to below current closed fold. 2 | " Tests that the line is not fetched into, but across the fold. 3 | " Tests that the cursor moves to the new line and moves to column 1. 4 | 5 | execute '15normal znwzN2[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetch014.vim: -------------------------------------------------------------------------------- 1 | " Test fetching a folded line up. 2 | " Tests that the closed fold counts as one line and all folded lines are 3 | " fetched. 4 | " Tests that the cursor moves to the last new line and moves to column 1. 5 | 6 | execute '12normal w5]f' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetch015.vim: -------------------------------------------------------------------------------- 1 | " Test fetching a folded line down. 2 | " Tests that the closed fold counts as one line and all folded lines are 3 | " fetched. 4 | " Tests that the cursor moves to the last new line and moves to column 1. 5 | 6 | execute '12normal w2[f' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetchVisual014.vim: -------------------------------------------------------------------------------- 1 | " Test fetching one-line visual selection from 5 down across a fold. 2 | " Tests that the closed fold is counted as one line. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '18normal V5[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat007excl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing first line one up on repeat. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=exclusive 6 | 7 | 10normal wwve99]r 8 | 1normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat008excl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing last line one down on repeat. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=exclusive 6 | 7 | 10normal wwve99[r 8 | $normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/replace014.vim: -------------------------------------------------------------------------------- 1 | " Test replacing a folded line up. 2 | " Tests that the closed fold counts as one line and all folded lines are 3 | " fetched. 4 | " Tests that the cursor moves to the last replaced line and moves to column 1. 5 | 6 | execute '12normal w5]r' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOverVisual004.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection 2 down from the opposite end. 2 | " Tests that the count is relative to the end of the selection. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '11normal Vkkw2]d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replace015.vim: -------------------------------------------------------------------------------- 1 | " Test replacing a folded line down. 2 | " Tests that the closed fold counts as one line and all folded lines are 3 | " fetched. 4 | " Tests that the cursor moves to the last replaced line and moves to column 1. 5 | 6 | execute '12normal w2[r' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/blank007.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line before with following line folded. 2 | " Tests that the blank line is inserted between the current and the folded line. 3 | " Tests that the cursor remains on the original line and moves to column 1. 4 | 5 | execute '5normal w[ ' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/blank008.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line after with following line folded. 2 | " Tests that the blank line is inserted between the current and the folded line. 3 | " Tests that the cursor remains on the original line and moves to column 1. 4 | 5 | execute '5normal w] ' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOver009.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current folded line one up. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 4 | 5 | execute '22normal znwzN[d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupOverVisual003.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating visual selection across 2 up from the opposite end. 2 | " Tests that the count is relative to the start of the selection. 3 | " Tests that the cursor moves with the line and moves to column 1. 4 | 5 | execute '11normal Vjjw2[d' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRange009.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current folded line up. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 4 | 5 | execute '22normal znwzN[D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRange010.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current folded line down. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 4 | 5 | execute '22normal znwzN]D' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replace007.vim: -------------------------------------------------------------------------------- 1 | " Test replacing with one line above current closed fold. 2 | " Tests that the line replaces the entire fold, not just the current line. 3 | " Tests that the cursor stays in the single replaced line and moves to column 1. 4 | 5 | execute '15normal znwzN]r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/dupRange015.vim: -------------------------------------------------------------------------------- 1 | " Test clipping of a large count at the end of the buffer. 2 | " (This cannot happen at the begin, because the count always adds to the current 3 | " line.) 4 | " Tests that the cursor moves with the line and moves to column 1. 5 | 6 | execute '29normal w99]D' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetchRepeat003.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of repeatedly fetching up. 2 | " Tests that subsequent lines are fetched (also considering folds). 3 | 4 | execute '10normal w7]f' 5 | normal . 6 | normal . 7 | normal . 8 | normal . 9 | normal . 10 | normal . 11 | normal . 12 | 13 | call Quit() 14 | -------------------------------------------------------------------------------- /tests/fetchVisual017.vim: -------------------------------------------------------------------------------- 1 | " Test fetching folded single-line visual selection up. 2 | " Tests that the selection is counted as one line, not the number of contained 3 | " lines. 4 | " Tests that the cursor moves to the last new line and moves to column 1. 5 | 6 | execute '15normal V5]f' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/moveIntraRepeat006incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of moving characterwise selection from a closed fold. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=inclusive 6 | 7 | 10normal wwve3]e 8 | 14normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/workarounds/putEmptyLine001.vim: -------------------------------------------------------------------------------- 1 | " Test putting a list of lines that end with an empty line. 2 | 3 | insert 4 | first line 5 | last line 6 | . 7 | 8 | call ingo#lines#PutWrapper(1, 'put', ['new 1', 'new 2; v empty line here', '']) 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/blank006.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line after current folded line. 2 | " Tests that the line is not inserted on the adjacent line, but on the line next 3 | " to the fold. 4 | " Tests that the cursor remains on the original line and moves to column 1. 5 | 6 | execute '22normal znwzN] ' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetchVisual012.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines down from overlapping out of the selection. 2 | " Overlapping into the selection is not possible with fetch down. 3 | " Tests that the cursor moves to the last new line and moves to column 1. 4 | 5 | execute '11normal Vkkw[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual018.vim: -------------------------------------------------------------------------------- 1 | " Test fetching folded single-line visual selection down. 2 | " Tests that the selection is counted as one line, not the number of contained 3 | " lines. 4 | " Tests that the cursor moves to the last new line and moves to column 1. 5 | 6 | execute '15normal V2[f' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/replaceIntraRepeat006incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of replacing characterwise selection from a closed fold. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=inclusive 6 | 7 | 10normal wwve3[r 8 | 14normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/swapIntraRepeat006incl.vim: -------------------------------------------------------------------------------- 1 | " Test normal mode repeat of swapping characterwise selection from a closed fold. 2 | " Tests that nothing happens (except for a beep). 3 | " Tests that the cursor stays. 4 | 5 | set selection=inclusive 6 | 7 | 10normal wwve3]E 8 | 14normal . 9 | 10 | call Quit(1) 11 | -------------------------------------------------------------------------------- /tests/blank005.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line before current folded line. 2 | " Tests that the line is not inserted on the adjacent line, but on the line next 3 | " to the fold. 4 | " Tests that the cursor remains on the original line and moves to column 1. 5 | 6 | execute '22normal znwzN[ ' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetchVisual007.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines up from text running into a closed fold. 2 | " Tests that the closed fold counts as one line and is swapped in full. 3 | " Tests that the cursor moves to the last new line and moves to column 1. 4 | 5 | execute '9normal Vjjw[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual008.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines down from text running into a closed fold. 2 | " Tests that the closed fold counts as one line and is swapped in full. 3 | " Tests that the cursor moves to the last new line and moves to column 1. 4 | 5 | execute '11normal Vkkw5]f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceVisual007.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection up from text running into a closed fold. 2 | " Tests that the closed fold counts as one line and is swapped in full. 3 | " Tests that the cursor moves to the last replaced line and moves to column 1. 4 | 5 | execute '9normal Vjjw[r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceVisual008.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection down from text running into a closed fold. 2 | " Tests that the closed fold counts as one line and is swapped in full. 3 | " Tests that the cursor moves to the last replaced line and moves to column 1. 4 | 5 | execute '11normal Vkkw5]r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceVisual017.vim: -------------------------------------------------------------------------------- 1 | " Test replacing folded single-line visual selection up. 2 | " Tests that the selection is counted as one line, not the number of contained 3 | " lines. 4 | " Tests that the cursor moves to the last replaced line and moves to column 1. 5 | 6 | execute '15normal V5[r' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/replaceVisual018.vim: -------------------------------------------------------------------------------- 1 | " Test replacing folded single-line visual selection down. 2 | " Tests that the selection is counted as one line, not the number of contained 3 | " lines. 4 | " Tests that the cursor moves to the last replaced line and moves to column 1. 5 | 6 | execute '15normal V2]r' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/swap017.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded line with text running into a closed fold. 2 | " Tests that the closed fold counts as one line and is swapped in full. 3 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 4 | 5 | execute '14normal znwzN3]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/blankVisual001.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line before visual selection. 2 | " Tests that the line is not inserted on the current line, but on the line next 3 | " to the selection. 4 | " Tests that the cursor remains on the original line and moves to column 1. 5 | 6 | execute '9normal V4jw[ ' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/blankVisual002.vim: -------------------------------------------------------------------------------- 1 | " Test inserting blank line after visual selection. 2 | " Tests that the line is not inserted on the current line, but on the line next 3 | " to the selection. 4 | " Tests that the cursor remains on the original line and moves to column 1. 5 | 6 | execute '13normal V4kw] ' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetchVisual009.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines from text running over and into a closed fold. 2 | " Tests that the closed folds count as one line and are swapped in full. 3 | " Tests that the cursor moves to the last new line and moves to column 1. 4 | 5 | execute '9normal Vjjw7[f' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/replaceVisual009.vim: -------------------------------------------------------------------------------- 1 | " Test replacing visual selection from text running over and into a closed fold. 2 | " Tests that the closed folds count as one line and are swapped in full. 3 | " Tests that the cursor moves to the last replaced line and moves to column 1. 4 | 5 | execute '9normal Vjjw7[r' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual007.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to text running into a closed fold. 2 | " Tests that the closed fold counts as one line and is swapped in full. 3 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 4 | 5 | execute '9normal Vjjw]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual016.vim: -------------------------------------------------------------------------------- 1 | " Test fetching number of selected lines clipping from down. 2 | " Tests that the same number of visual lines as selected is fetched from the end 3 | " of the buffer. 4 | " Tests that the cursor moves to the last new line and moves to column 1. 5 | 6 | execute '9normal Vjw99[f' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/replaceIntra005excl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection with shorter line. 2 | " Tests that as much as available is taken. 3 | 4 | set selection=exclusive 5 | 6 | 15normal zv2wv3E5]r 7 | call Mark(1) 8 | 9 | call setline(18, "18\t\INGLE \INE") 10 | 16normal zv2wv2El2[r 11 | call Quit(1) 12 | -------------------------------------------------------------------------------- /tests/replaceIntra005incl.vim: -------------------------------------------------------------------------------- 1 | " Test replacing characterwise selection with shorter line. 2 | " Tests that as much as available is taken. 3 | 4 | set selection=inclusive 5 | 6 | 15normal zv2wv3E5]r 7 | call Mark(1) 8 | 9 | call setline(18, "18\t\INGLE \INE") 10 | 16normal zv2wv2El2[r 11 | call Quit(1) 12 | -------------------------------------------------------------------------------- /tests/swap018.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded line with text up running over and into a closed fold. 2 | " Tests that the closed folds count as one line and are swapped in full. 3 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 4 | 5 | execute '14normal znwzN8[E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/move010.vim: -------------------------------------------------------------------------------- 1 | " Test moving current folded line one down. 2 | " Tests that all folded lines are moved, not just the current line. 3 | " Tests that the line is not moved into, but across the fold. 4 | " Tests that the cursor stays relative to the fold and moves to column 1. 5 | 6 | execute '22normal znwzN]e' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/swap019.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded line with text down running over and into a closed fold. 2 | " Tests that the closed folds count as one line and are swapped in full. 3 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 4 | 5 | execute '14normal znwzN4]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/swapVisual017.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded single-line visual selection up. 2 | " Tests that the selection is counted as one line, not the number of contained 3 | " lines. 4 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 5 | 6 | execute '15normal V5[E' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/swapVisual018.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded single-line visual selection down. 2 | " Tests that the selection is counted as one line, not the number of contained 3 | " lines. 4 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 5 | 6 | execute '15normal V2]E' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/bugs/swapFoldMarker.vim: -------------------------------------------------------------------------------- 1 | " Test swapping across a fold marker. 2 | 3 | insert 4 | first line 5 | 6 | " {{{ 7 | folded 8 | 9 | here 10 | " }}} 11 | 12 | last line 13 | . 14 | 15 | setlocal foldenable foldmethod=marker foldlevel=1 16 | 17 | 4normal [E]E 18 | 19 | call vimtest#SaveOut() 20 | call vimtest#Quit() 21 | -------------------------------------------------------------------------------- /tests/moveIntra005incl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection into shorter line. 2 | " Tests that the virtual column is kept and space-padding is added. 3 | 4 | set selection=inclusive 5 | 6 | 15normal zv$viw3[e 7 | call Mark(1) 8 | 9 | call setline(18, "18\t\INGLE \INE") 10 | 16normal zv$viw2]e 11 | call Quit(1) 12 | -------------------------------------------------------------------------------- /tests/swapIntra005incl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection with shorter line. 2 | " Tests that the virtual column is kept and space-padding is added. 3 | 4 | set selection=inclusive 5 | 6 | 15normal zv$viw3[E 7 | call Mark(1) 8 | 9 | call setline(18, "18\t\INGLE \INE") 10 | 16normal zv$viw2]E 11 | call Quit(1) 12 | -------------------------------------------------------------------------------- /tests/swapVisual009.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to text down running over and into a closed fold. 2 | " Tests that the closed folds count as one line and are swapped in full. 3 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 4 | 5 | execute '9normal Vjjw7]E' 6 | 7 | call Quit() 8 | -------------------------------------------------------------------------------- /tests/fetchVisual019.vim: -------------------------------------------------------------------------------- 1 | " Test fetching folded multi-line visual selection up with folded text. 2 | " Tests that the closed folds in the selection are counted as one line each, not 3 | " the number of contained lines. 4 | " Tests that the cursor moves to the last new line and moves to column 1. 5 | 6 | execute '20normal V3j16]f' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/fetchVisual020.vim: -------------------------------------------------------------------------------- 1 | " Test fetching folded multi-line visual selection down with folded text. 2 | " Tests that the closed folds in the selection are counted as one line each, not 3 | " the number of contained lines. 4 | " Tests that the cursor moves to the last new line and moves to column 1. 5 | 6 | execute '3normal V2j10[f' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOverIntraVirtualEdit002excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly, counting, and overflowing down to end with virtualedit=all. 2 | 3 | set selection=exclusive virtualedit=all 4 | 5 | 10normal V2]D 6 | 10normal $viw]d 7 | call Mark(1) 8 | 11normal wwve11]d 9 | call Mark(1) 10 | 12normal wwve30]d 11 | 12 | call Quit(1) 13 | -------------------------------------------------------------------------------- /tests/replaceVisual019.vim: -------------------------------------------------------------------------------- 1 | " Test replacing folded multi-line visual selection up with folded text. 2 | " Tests that the closed folds in the selection are counted as one line each, not 3 | " the number of contained lines. 4 | " Tests that the cursor moves to the last replaced line and moves to column 1. 5 | 6 | execute '3normal V2j10[r' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/replaceVisual020.vim: -------------------------------------------------------------------------------- 1 | " Test replacing folded multi-line visual selection down with folded text. 2 | " Tests that the closed folds in the selection are counted as one line each, not 3 | " the number of contained lines. 4 | " Tests that the cursor moves to the last replaced line and moves to column 1. 5 | 6 | execute '20normal V3j16]r' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/swapVisual008.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging visual selection to text up running over a closed fold. 2 | " Tests that the closed fold counts as one line and is swapped in full, as well 3 | " as the next line. 4 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 5 | 6 | execute '11normal Vkkw5[E' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOverIntraVirtualEdit001excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection directly, counting, and overflowing down to end with virtualedit=onemore. 2 | 3 | set selection=exclusive virtualedit=onemore 4 | 5 | 10normal V2]D 6 | 10normal $viw]d 7 | call Mark(1) 8 | 11normal wwve11]d 9 | call Mark(1) 10 | 12normal wwve99]d 11 | 12 | call Quit(1) 13 | -------------------------------------------------------------------------------- /tests/swap016.vim: -------------------------------------------------------------------------------- 1 | " Test exchange clipping of a large count to the last line. 2 | " Tests that clipping considers the amount of lines of the source fold and 3 | " subtracts them from the last available line number. 4 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 5 | 6 | execute '6normal znwzN99]E' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOver010.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current folded line one down. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the line is not duplicated into, but before the fold. 4 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 5 | 6 | execute '22normal znwzN]d' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOverIntraNonDefaultWidth001excl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection over larger-width characters. 2 | 3 | set selection=exclusive virtualedit= 4 | 5 | 10normal V3]D 6 | 10normal wrlrwve2[d 7 | call Mark(1) 8 | 11normal 3wrlrbbve2]d 9 | call Mark(1) 10 | 12normal eelr wve1[d 11 | call Mark(1) 12 | 13normal 3elr bve1]d 13 | 14 | call Quit(1) 15 | -------------------------------------------------------------------------------- /tests/dupOverIntraNonDefaultWidth001incl.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating characterwise selection over larger-width characters. 2 | 3 | set selection=inclusive virtualedit= 4 | 5 | 10normal V3]D 6 | 10normal wrlrwve2[d 7 | call Mark(1) 8 | 11normal 3wrlrbbve2]d 9 | call Mark(1) 10 | 12normal eelr wve1[d 11 | call Mark(1) 12 | 13normal 3elr bve1]d 13 | 14 | call Quit(1) 15 | -------------------------------------------------------------------------------- /tests/dupOverRange010.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current folded line two down. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the line is not duplicated into, but after the fold. 4 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 5 | 6 | execute '22normal znwzN]1d' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupRangeOver010.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current folded line two down. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the line is not duplicated into, but after the fold. 4 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 5 | 6 | execute '22normal znwzN]1D' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/swapVisual019.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded multi-line visual selection up with folded text. 2 | " Tests that the closed folds in the selection are counted as one line each, not 3 | " the number of contained lines. 4 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 5 | 6 | execute '20normal V3j16[E' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupOverRange009.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current and next folded lines five up. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the line is not duplicated into, but after the fold. 4 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 5 | 6 | execute '22normal znwzN5[2d' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/dupRangeOver009.vim: -------------------------------------------------------------------------------- 1 | " Test duplicating current and next folded lines five up. 2 | " Tests that all folded lines are duplicated, not just the current line. 3 | " Tests that the line is not duplicated into, but after the fold. 4 | " Tests that the cursor moves to the end of the original folded lines and moves to column 1. 5 | 6 | execute '22normal znwzN2[5D' 7 | 8 | call Quit() 9 | -------------------------------------------------------------------------------- /tests/moveIntra010incl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection up into fold. 2 | " Tests that the last line of the fold is the move target. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve3[e 7 | 8 | " Tests that the fold is opened. 9 | call vimtest#StartTap() 10 | call vimtap#Plan(1) 11 | call vimtap#Is(foldclosed('.'), -1, 'no closed fold at target line') 12 | 13 | call Quit(1) 14 | -------------------------------------------------------------------------------- /tests/moveIntra011excl.vim: -------------------------------------------------------------------------------- 1 | " Test moving characterwise selection down into fold. 2 | " Tests that the first line of the fold is the move target. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve4]e 7 | 8 | " Tests that the fold is opened. 9 | call vimtest#StartTap() 10 | call vimtap#Plan(1) 11 | call vimtap#Is(foldclosed('.'), -1, 'no closed fold at target line') 12 | 13 | call Quit(1) 14 | -------------------------------------------------------------------------------- /tests/swapIntra010incl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection up into fold. 2 | " Tests that the last line of the fold is the move target. 3 | 4 | set selection=inclusive 5 | 6 | 10normal wwve3[E 7 | 8 | " Tests that the fold is opened. 9 | call vimtest#StartTap() 10 | call vimtap#Plan(1) 11 | call vimtap#Is(foldclosed('.'), -1, 'no closed fold at target line') 12 | 13 | call Quit(1) 14 | -------------------------------------------------------------------------------- /tests/swapIntra011excl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection down into fold. 2 | " Tests that the first line of the fold is the move target. 3 | 4 | set selection=exclusive 5 | 6 | 10normal wwve4]E 7 | 8 | " Tests that the fold is opened. 9 | call vimtest#StartTap() 10 | call vimtap#Plan(1) 11 | call vimtap#Is(foldclosed('.'), -1, 'no closed fold at target line') 12 | 13 | call Quit(1) 14 | -------------------------------------------------------------------------------- /tests/swapIntra005excl.vim: -------------------------------------------------------------------------------- 1 | " Test swapping characterwise selection with shorter line. 2 | " Tests that the virtual column is kept and space-padding is added. 3 | 4 | call vimtest#SkipAndQuitIf(v:version < 900 || v:version == 900 && ! has('patch1172'), 'Need fix for exclusive selection one-off') 5 | set selection=exclusive 6 | 7 | 15normal zv$viw3[E 8 | call Mark(1) 9 | 10 | call setline(18, "18\t\INGLE \INE") 11 | 16normal zv$viw2]E 12 | call Quit(1) 13 | -------------------------------------------------------------------------------- /tests/swapVisual020.vim: -------------------------------------------------------------------------------- 1 | " Test exchanging folded multi-line visual selection down with folded text. 2 | " Tests that the closed folds in the selection are counted as one line each, not 3 | " the number of contained lines. 4 | " Tests that the cursor moves to the end of the original selected lines and moves to column 1. 5 | 6 | " XXX: Wrong results when running with :normal, Vim 7.3.600. 7 | "execute '3normal V2j10]E' 8 | "call Quit() 9 | 3call feedkeys("V2j10]E:call Quit()\") 10 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an enhancement for the plugin 4 | title: '' 5 | labels: enhancement 6 | 7 | --- 8 | 9 | **Motivation** 10 | 11 | _A clear and concise description of what currently is hard to do._ 12 | 13 | **Request and Purpose** 14 | 15 | _A clear and concise description of what you want to happen. Possible fit criteria._ 16 | 17 | **Alternatives** 18 | 19 | _A clear and concise description of any alternative solutions or features you've considered._ 20 | -------------------------------------------------------------------------------- /tests/replace007.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | *3 to experiment 15 | 17 - - - - - 16 | 18 SINGLE LINE 17 | 19 filler text 18 | 20 and so on 19 | 21 if (flag) { 20 | 22 frobnize(); 21 | 23 globify(); 22 | 24 } else { 23 | 25 humanate(); 24 | 26 } 25 | 27 if (goo) 26 | 28 iluminate(); 27 | 29 -- -- -- 28 | 30 last line 29 | -------------------------------------------------------------------------------- /tests/replaceVisual018.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | *2 lines lines lines 15 | 17 - - - - - 16 | 18 SINGLE LINE 17 | 19 filler text 18 | 20 and so on 19 | 21 if (flag) { 20 | 22 frobnize(); 21 | 23 globify(); 22 | 24 } else { 23 | 25 humanate(); 24 | 26 } 25 | 27 if (goo) 26 | 28 iluminate(); 27 | 29 -- -- -- 28 | 30 last line 29 | -------------------------------------------------------------------------------- /tests/keepExprReg001.vim: -------------------------------------------------------------------------------- 1 | " Test that mappings keep the contents of the expression register. 2 | 3 | call vimtest#StartTap() 4 | call vimtap#Plan(5) 5 | 6 | execute "1normal! I\=v:version\\" 7 | call vimtap#Is(@=, 'v:version', 'original expression') 8 | 9 | execute '12normal w[ ' 10 | call vimtap#Is(@=, 'v:version', 'same expression after [') 11 | 12 | execute '12normal w3[e' 13 | call vimtap#Is(@=, 'v:version', 'same expression after 3[e') 14 | 15 | execute '18normal w]d' 16 | call vimtap#Is(@=, 'v:version', 'same expression after ]d') 17 | 18 | execute '26normal w2[E' 19 | call vimtap#Is(@=, 'v:version', 'same expression after 2[E') 20 | 21 | call vimtest#Quit() 22 | -------------------------------------------------------------------------------- /tests/replaceVisual020.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 03 TWO-LINE block A start 21 | 04 TWO-LINE block A end 22 | 05 -- -- -- -- 23 | 06 TWO-LINE block B start 24 | 07 TWO-LINE block B end 25 | *8 - - - - - - 26 | 30 last line 27 | -------------------------------------------------------------------------------- /tests/replace001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | *1 and offer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replace012.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | *1 first line 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replace013.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | *0 last line 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/fetch010.ok: -------------------------------------------------------------------------------- 1 | 01 *irst line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/fetch011.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 *ast line 31 | -------------------------------------------------------------------------------- /tests/move001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | *2 lines lines lines 12 | 11 and offer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 13 to experiment 13 | *2 lines lines lines 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move003.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | *2 lines lines lines 10 | 09 just some text 11 | 10 to fill the buffer 12 | 11 and offer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move004.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 11 and offer 11 | 12 lines lines lines 12 | 13 to experiment 13 | *0 to fill the buffer 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move005.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | *5 -- -- -- -- 3 | 02 --- 4 | 03 TWO-LINE block A start 5 | 04 TWO-LINE block A end 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move006.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 06 TWO-LINE block B start 6 | 07 TWO-LINE block B end 7 | 08 - - - - - - 8 | *5 -- -- -- -- 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move007.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | *5 -- -- -- -- 4 | 03 TWO-LINE block A start 5 | 04 TWO-LINE block A end 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move008.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 06 TWO-LINE block B start 6 | 07 TWO-LINE block B end 7 | *5 -- -- -- -- 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move009.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 21 if (flag) { 21 | *2 frobnize(); 22 | 23 globify(); 23 | 24 } else { 24 | 25 humanate(); 25 | 26 } 26 | 20 and so on 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move010.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 27 if (goo) 22 | 28 iluminate(); 23 | 21 if (flag) { 24 | *2 frobnize(); 25 | 23 globify(); 26 | 24 } else { 27 | 25 humanate(); 28 | 26 } 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move011.ok: -------------------------------------------------------------------------------- 1 | 01 *irst line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move012.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 *ast line 31 | -------------------------------------------------------------------------------- /tests/move013.ok: -------------------------------------------------------------------------------- 1 | *2 --- 2 | 01 first line 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move014.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 30 last line 30 | *9 -- -- -- 31 | -------------------------------------------------------------------------------- /tests/move015.ok: -------------------------------------------------------------------------------- 1 | *2 lines lines lines 2 | 01 first line 3 | 02 --- 4 | 03 TWO-LINE block A start 5 | 04 TWO-LINE block A end 6 | 05 -- -- -- -- 7 | 06 TWO-LINE block B start 8 | 07 TWO-LINE block B end 9 | 08 - - - - - - 10 | 09 just some text 11 | 10 to fill the buffer 12 | 11 and offer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/move016.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 13 to experiment 13 | 14 THREE-LINE block C start 14 | 15 THREE-LINE block C middle 15 | 16 THREE-LINE block C end 16 | 17 - - - - - 17 | 18 SINGLE LINE 18 | 19 filler text 19 | 20 and so on 20 | 21 if (flag) { 21 | 22 frobnize(); 22 | 23 globify(); 23 | 24 } else { 24 | 25 humanate(); 25 | 26 } 26 | 27 if (goo) 27 | 28 iluminate(); 28 | 29 -- -- -- 29 | 30 last line 30 | *2 lines lines lines 31 | -------------------------------------------------------------------------------- /tests/replace002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | *3 to experiment 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replace003.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | *9 just some text 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replace004.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | *3 to experiment 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replace005.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | *1 first line 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replaceIntra005excl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREEle 16 | 16 THREE 17 | 17 - - - - - 18 | 18 INGLE INE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replaceIntra005incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREEdle 16 | 16 THREEd 17 | 17 - - - - - 18 | 18 INGLE INE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | *2 lines lines lines 12 | 11 and offer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 13 to experiment 13 | *2 lines lines lines 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap003.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | *2 lines lines lines 10 | 10 to fill the buffer 11 | 11 and offer 12 | 09 just some text 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap004.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 13 to experiment 11 | 11 and offer 12 | 12 lines lines lines 13 | *0 to fill the buffer 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap005.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | *5 -- -- -- -- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 02 --- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap006.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 08 - - - - - - 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | *5 -- -- -- -- 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap007.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 14 THREE-LINE block C start 10 | 15 THREE-LINE block C middle 11 | *6 THREE-LINE block C end 12 | 12 lines lines lines 13 | 13 to experiment 14 | 09 just some text 15 | 10 to fill the buffer 16 | 11 and offer 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap008.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 09 just some text 7 | 10 to fill the buffer 8 | 08 - - - - - - 9 | 06 TWO-LINE block B start 10 | *7 TWO-LINE block B end 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap009.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | *5 humanate(); 23 | 24 } else { 24 | 22 frobnize(); 25 | 23 globify(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap010.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 14 THREE-LINE block C start 7 | 15 THREE-LINE block C middle 8 | 16 THREE-LINE block C end 9 | 08 - - - - - - 10 | 09 just some text 11 | 10 to fill the buffer 12 | 11 and offer 13 | 12 lines lines lines 14 | 13 to experiment 15 | 06 TWO-LINE block B start 16 | *7 TWO-LINE block B end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap011.ok: -------------------------------------------------------------------------------- 1 | 01 *irst line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap012.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 *ast line 31 | -------------------------------------------------------------------------------- /tests/swap015.ok: -------------------------------------------------------------------------------- 1 | 06 TWO-LINE block B start 2 | *7 TWO-LINE block B end 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 01 first line 7 | 02 --- 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap016.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 29 -- -- -- 7 | 30 last line 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 06 TWO-LINE block B start 30 | *7 TWO-LINE block B end 31 | -------------------------------------------------------------------------------- /tests/swap017.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 19 filler text 15 | 20 and so on 16 | 21 if (flag) { 17 | 22 frobnize(); 18 | 23 globify(); 19 | 24 } else { 20 | 25 humanate(); 21 | 26 } 22 | 17 - - - - - 23 | 18 SINGLE LINE 24 | 14 THREE-LINE block C start 25 | 15 THREE-LINE block C middle 26 | *6 THREE-LINE block C end 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap018.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 14 THREE-LINE block C start 6 | 15 THREE-LINE block C middle 7 | *6 THREE-LINE block C end 8 | 09 just some text 9 | 10 to fill the buffer 10 | 11 and offer 11 | 12 lines lines lines 12 | 13 to experiment 13 | 05 -- -- -- -- 14 | 06 TWO-LINE block B start 15 | 07 TWO-LINE block B end 16 | 08 - - - - - - 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swap019.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 20 and so on 15 | 21 if (flag) { 16 | 22 frobnize(); 17 | 23 globify(); 18 | 24 } else { 19 | 25 humanate(); 20 | 26 } 21 | 27 if (goo) 22 | 28 iluminate(); 23 | 17 - - - - - 24 | 18 SINGLE LINE 25 | 19 filler text 26 | 14 THREE-LINE block C start 27 | 15 THREE-LINE block C middle 28 | *6 THREE-LINE block C end 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/template.txt: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/blank001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 13 | *2 lines lines lines 14 | 13 to experiment 15 | 14 THREE-LINE block C start 16 | 15 THREE-LINE block C middle 17 | 16 THREE-LINE block C end 18 | 17 - - - - - 19 | 18 SINGLE LINE 20 | 19 filler text 21 | 20 and so on 22 | 21 if (flag) { 23 | 22 frobnize(); 24 | 23 globify(); 25 | 24 } else { 26 | 25 humanate(); 27 | 26 } 28 | 27 if (goo) 29 | 28 iluminate(); 30 | 29 -- -- -- 31 | 30 last line 32 | -------------------------------------------------------------------------------- /tests/blank002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | *2 lines lines lines 13 | 14 | 13 to experiment 15 | 14 THREE-LINE block C start 16 | 15 THREE-LINE block C middle 17 | 16 THREE-LINE block C end 18 | 17 - - - - - 19 | 18 SINGLE LINE 20 | 19 filler text 21 | 20 and so on 22 | 21 if (flag) { 23 | 22 frobnize(); 24 | 23 globify(); 25 | 24 } else { 26 | 25 humanate(); 27 | 26 } 28 | 27 if (goo) 29 | 28 iluminate(); 30 | 29 -- -- -- 31 | 30 last line 32 | -------------------------------------------------------------------------------- /tests/blank005.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 22 | 21 if (flag) { 23 | *2 frobnize(); 24 | 23 globify(); 25 | 24 } else { 26 | 25 humanate(); 27 | 26 } 28 | 27 if (goo) 29 | 28 iluminate(); 30 | 29 -- -- -- 31 | 30 last line 32 | -------------------------------------------------------------------------------- /tests/blank006.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | *2 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 28 | 27 if (goo) 29 | 28 iluminate(); 30 | 29 -- -- -- 31 | 30 last line 32 | -------------------------------------------------------------------------------- /tests/blank007.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 6 | *5 -- -- -- -- 7 | 06 TWO-LINE block B start 8 | 07 TWO-LINE block B end 9 | 08 - - - - - - 10 | 09 just some text 11 | 10 to fill the buffer 12 | 11 and offer 13 | 12 lines lines lines 14 | 13 to experiment 15 | 14 THREE-LINE block C start 16 | 15 THREE-LINE block C middle 17 | 16 THREE-LINE block C end 18 | 17 - - - - - 19 | 18 SINGLE LINE 20 | 19 filler text 21 | 20 and so on 22 | 21 if (flag) { 23 | 22 frobnize(); 24 | 23 globify(); 25 | 24 } else { 26 | 25 humanate(); 27 | 26 } 28 | 27 if (goo) 29 | 28 iluminate(); 30 | 29 -- -- -- 31 | 30 last line 32 | -------------------------------------------------------------------------------- /tests/blank008.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | *5 -- -- -- -- 6 | 7 | 06 TWO-LINE block B start 8 | 07 TWO-LINE block B end 9 | 08 - - - - - - 10 | 09 just some text 11 | 10 to fill the buffer 12 | 11 and offer 13 | 12 lines lines lines 14 | 13 to experiment 15 | 14 THREE-LINE block C start 16 | 15 THREE-LINE block C middle 17 | 16 THREE-LINE block C end 18 | 17 - - - - - 19 | 18 SINGLE LINE 20 | 19 filler text 21 | 20 and so on 22 | 21 if (flag) { 23 | 22 frobnize(); 24 | 23 globify(); 25 | 24 } else { 26 | 25 humanate(); 27 | 26 } 28 | 27 if (goo) 29 | 28 iluminate(); 30 | 29 -- -- -- 31 | 30 last line 32 | -------------------------------------------------------------------------------- /tests/blank009.ok: -------------------------------------------------------------------------------- 1 | 2 | *1 first line 3 | 02 --- 4 | 03 TWO-LINE block A start 5 | 04 TWO-LINE block A end 6 | 05 -- -- -- -- 7 | 06 TWO-LINE block B start 8 | 07 TWO-LINE block B end 9 | 08 - - - - - - 10 | 09 just some text 11 | 10 to fill the buffer 12 | 11 and offer 13 | 12 lines lines lines 14 | 13 to experiment 15 | 14 THREE-LINE block C start 16 | 15 THREE-LINE block C middle 17 | 16 THREE-LINE block C end 18 | 17 - - - - - 19 | 18 SINGLE LINE 20 | 19 filler text 21 | 20 and so on 22 | 21 if (flag) { 23 | 22 frobnize(); 24 | 23 globify(); 25 | 24 } else { 26 | 25 humanate(); 27 | 26 } 28 | 27 if (goo) 29 | 28 iluminate(); 30 | 29 -- -- -- 31 | 30 last line 32 | -------------------------------------------------------------------------------- /tests/blank010.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | *0 last line 31 | 32 | -------------------------------------------------------------------------------- /tests/moveRepeat001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | *9 just some text 7 | 06 TWO-LINE block B start 8 | 07 TWO-LINE block B end 9 | 08 - - - - - - 10 | 12 lines lines lines 11 | 10 to fill the buffer 12 | 11 and offer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveRepeat002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 11 and offer 10 | 13 to experiment 11 | 14 THREE-LINE block C start 12 | 15 THREE-LINE block C middle 13 | 16 THREE-LINE block C end 14 | 09 just some text 15 | *0 to fill the buffer 16 | 17 - - - - - 17 | 12 lines lines lines 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | *1 and offer 10 | 12 lines lines lines 11 | 13 to experiment 12 | 09 just some text 13 | 10 to fill the buffer 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 12 lines lines lines 10 | 13 to experiment 11 | 09 just some text 12 | 10 to fill the buffer 13 | *1 and offer 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual003.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 11 and offer 10 | 12 lines lines lines 11 | *3 to experiment 12 | 09 just some text 13 | 10 to fill the buffer 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual004.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 12 lines lines lines 10 | 13 to experiment 11 | *9 just some text 12 | 10 to fill the buffer 13 | 11 and offer 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual005.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 *ines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual006.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 *o fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual007.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | *8 SINGLE LINE 14 | 13 to experiment 15 | 14 THREE-LINE block C start 16 | 15 THREE-LINE block C middle 17 | 16 THREE-LINE block C end 18 | 17 - - - - - 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual008.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 19 filler text 19 | 20 and so on 20 | 21 if (flag) { 21 | 22 frobnize(); 22 | 23 globify(); 23 | 24 } else { 24 | 25 humanate(); 25 | 26 } 26 | 27 if (goo) 27 | 28 iluminate(); 28 | 29 -- -- -- 29 | *8 SINGLE LINE 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual009.ok: -------------------------------------------------------------------------------- 1 | *1 and offer 2 | 12 lines lines lines 3 | 13 to experiment 4 | 01 first line 5 | 02 --- 6 | 03 TWO-LINE block A start 7 | 04 TWO-LINE block A end 8 | 05 -- -- -- -- 9 | 06 TWO-LINE block B start 10 | 07 TWO-LINE block B end 11 | 08 - - - - - - 12 | 09 just some text 13 | 10 to fill the buffer 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveVisual010.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 12 lines lines lines 10 | 13 to experiment 11 | 14 THREE-LINE block C start 12 | 15 THREE-LINE block C middle 13 | 16 THREE-LINE block C end 14 | 17 - - - - - 15 | 18 SINGLE LINE 16 | 19 filler text 17 | 20 and so on 18 | 21 if (flag) { 19 | 22 frobnize(); 20 | 23 globify(); 21 | 24 } else { 22 | 25 humanate(); 23 | 26 } 24 | 27 if (goo) 25 | 28 iluminate(); 26 | 29 -- -- -- 27 | 30 last line 28 | 09 just some text 29 | 10 to fill the buffer 30 | *1 and offer 31 | -------------------------------------------------------------------------------- /tests/replace006.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | *9 just some text 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replace010.ok: -------------------------------------------------------------------------------- 1 | 01 *irst line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replace011.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 *ast line 31 | -------------------------------------------------------------------------------- /tests/replace016.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 03 TWO-LINE block A start 7 | *4 TWO-LINE block A end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/replaceVisual006.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 11 and offer 10 | *2 lines lines lines 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapRepeat001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 12 lines lines lines 11 | 11 and offer 12 | 10 to fill the buffer 13 | 13 to experiment 14 | *8 SINGLE LINE 15 | 17 - - - - - 16 | 14 THREE-LINE block C start 17 | 15 THREE-LINE block C middle 18 | 16 THREE-LINE block C end 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapRepeat002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 17 - - - - - 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 12 lines lines lines 18 | 21 if (flag) { 19 | 22 frobnize(); 20 | 23 globify(); 21 | 24 } else { 22 | 25 humanate(); 23 | 26 } 24 | 19 filler text 25 | 20 and so on 26 | *8 SINGLE LINE 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual001.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 06 TWO-LINE block B start 4 | *7 TWO-LINE block B end 5 | 05 -- -- -- -- 6 | 03 TWO-LINE block A start 7 | 04 TWO-LINE block A end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual002.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 06 TWO-LINE block B start 4 | 07 TWO-LINE block B end 5 | 05 -- -- -- -- 6 | 03 TWO-LINE block A start 7 | *4 TWO-LINE block A end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual003.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 06 TWO-LINE block B start 4 | *7 TWO-LINE block B end 5 | 05 -- -- -- -- 6 | 03 TWO-LINE block A start 7 | 04 TWO-LINE block A end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual004.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 06 TWO-LINE block B start 4 | 07 TWO-LINE block B end 5 | 05 -- -- -- -- 6 | 03 TWO-LINE block A start 7 | *4 TWO-LINE block A end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual005.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 11 and offer 10 | *2 lines lines lines 11 | 09 just some text 12 | 10 to fill the buffer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual006.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 11 and offer 10 | 12 lines lines lines 11 | 09 just some text 12 | *0 to fill the buffer 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual007.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 12 lines lines lines 10 | 13 to experiment 11 | 14 THREE-LINE block C start 12 | 15 THREE-LINE block C middle 13 | 16 THREE-LINE block C end 14 | 09 just some text 15 | 10 to fill the buffer 16 | *1 and offer 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual008.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 09 just some text 3 | 10 to fill the buffer 4 | *1 and offer 5 | 06 TWO-LINE block B start 6 | 07 TWO-LINE block B end 7 | 08 - - - - - - 8 | 02 --- 9 | 03 TWO-LINE block A start 10 | 04 TWO-LINE block A end 11 | 05 -- -- -- -- 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual009.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 20 and so on 10 | 21 if (flag) { 11 | 22 frobnize(); 12 | 23 globify(); 13 | 24 } else { 14 | 25 humanate(); 15 | 26 } 16 | 27 if (goo) 17 | 28 iluminate(); 18 | 12 lines lines lines 19 | 13 to experiment 20 | 14 THREE-LINE block C start 21 | 15 THREE-LINE block C middle 22 | 16 THREE-LINE block C end 23 | 17 - - - - - 24 | 18 SINGLE LINE 25 | 19 filler text 26 | 09 just some text 27 | 10 to fill the buffer 28 | *1 and offer 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual010.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 *nd offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual011.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 *nd offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual012.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 *ust some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual013.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | *8 SINGLE LINE 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 13 to experiment 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual014.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 29 -- -- -- 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | *8 SINGLE LINE 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual015.ok: -------------------------------------------------------------------------------- 1 | 10 to fill the buffer 2 | 11 and offer 3 | *2 lines lines lines 4 | 05 -- -- -- -- 5 | 06 TWO-LINE block B start 6 | 07 TWO-LINE block B end 7 | 08 - - - - - - 8 | 09 just some text 9 | 01 first line 10 | 02 --- 11 | 03 TWO-LINE block A start 12 | 04 TWO-LINE block A end 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual016.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 27 if (goo) 11 | 28 iluminate(); 12 | 29 -- -- -- 13 | 30 last line 14 | 13 to experiment 15 | 14 THREE-LINE block C start 16 | 15 THREE-LINE block C middle 17 | 16 THREE-LINE block C end 18 | 17 - - - - - 19 | 18 SINGLE LINE 20 | 19 filler text 21 | 20 and so on 22 | 21 if (flag) { 23 | 22 frobnize(); 24 | 23 globify(); 25 | 24 } else { 26 | 25 humanate(); 27 | 26 } 28 | 10 to fill the buffer 29 | 11 and offer 30 | *2 lines lines lines 31 | -------------------------------------------------------------------------------- /tests/swapVisual017.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 14 THREE-LINE block C start 10 | 15 THREE-LINE block C middle 11 | *6 THREE-LINE block C end 12 | 10 to fill the buffer 13 | 11 and offer 14 | 12 lines lines lines 15 | 13 to experiment 16 | 09 just some text 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual018.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 18 SINGLE LINE 15 | 17 - - - - - 16 | 14 THREE-LINE block C start 17 | 15 THREE-LINE block C middle 18 | *6 THREE-LINE block C end 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual019.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 20 and so on 4 | 21 if (flag) { 5 | 22 frobnize(); 6 | 23 globify(); 7 | 24 } else { 8 | 25 humanate(); 9 | 26 } 10 | 27 if (goo) 11 | 28 iluminate(); 12 | *9 -- -- -- 13 | 09 just some text 14 | 10 to fill the buffer 15 | 11 and offer 16 | 12 lines lines lines 17 | 13 to experiment 18 | 14 THREE-LINE block C start 19 | 15 THREE-LINE block C middle 20 | 16 THREE-LINE block C end 21 | 17 - - - - - 22 | 18 SINGLE LINE 23 | 19 filler text 24 | 03 TWO-LINE block A start 25 | 04 TWO-LINE block A end 26 | 05 -- -- -- -- 27 | 06 TWO-LINE block B start 28 | 07 TWO-LINE block B end 29 | 08 - - - - - - 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/swapVisual020.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 19 filler text 4 | 20 and so on 5 | 21 if (flag) { 6 | 22 frobnize(); 7 | 23 globify(); 8 | 24 } else { 9 | 25 humanate(); 10 | 26 } 11 | 08 - - - - - - 12 | 09 just some text 13 | 10 to fill the buffer 14 | 11 and offer 15 | 12 lines lines lines 16 | 13 to experiment 17 | 14 THREE-LINE block C start 18 | 15 THREE-LINE block C middle 19 | 16 THREE-LINE block C end 20 | 17 - - - - - 21 | 18 SINGLE LINE 22 | 03 TWO-LINE block A start 23 | 04 TWO-LINE block A end 24 | 05 -- -- -- -- 25 | 06 TWO-LINE block B start 26 | *7 TWO-LINE block B end 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/blankIntra001excl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to *fil> the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/blankIntra001incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to *fi>l the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/blankIntra002excl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to * the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/dupOverIntra004.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 tobuffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra001incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 jus[il*t some text 10 | 10 to buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra002excl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and[il* offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra002incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and[il* offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra003incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - -[il* - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra004incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and offer 12 | 12 lin[il*es lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra007incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to fill the buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to e[INGL*xperiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra010incl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 [il* TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra011excl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 [il* THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra015incl.ok: -------------------------------------------------------------------------------- 1 | 01 fir[il*st line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 last line 31 | -------------------------------------------------------------------------------- /tests/moveIntra016excl.ok: -------------------------------------------------------------------------------- 1 | 01 first line 2 | 02 --- 3 | 03 TWO-LINE block A start 4 | 04 TWO-LINE block A end 5 | 05 -- -- -- -- 6 | 06 TWO-LINE block B start 7 | 07 TWO-LINE block B end 8 | 08 - - - - - - 9 | 09 just some text 10 | 10 to buffer 11 | 11 and offer 12 | 12 lines lines lines 13 | 13 to experiment 14 | 14 THREE-LINE block C start 15 | 15 THREE-LINE block C middle 16 | 16 THREE-LINE block C end 17 | 17 - - - - - 18 | 18 SINGLE LINE 19 | 19 filler text 20 | 20 and so on 21 | 21 if (flag) { 22 | 22 frobnize(); 23 | 23 globify(); 24 | 24 } else { 25 | 25 humanate(); 26 | 26 } 27 | 27 if (goo) 28 | 28 iluminate(); 29 | 29 -- -- -- 30 | 30 las[il*t line 31 | --------------------------------------------------------------------------------