view src/testdir/test69.ok @ 10998:2645a98217fa v8.0.0388

patch 8.0.0388: filtering lines changes folds commit https://github.com/vim/vim/commit/1159b168dd94c1a25b4284c6544de385855df6f6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 28 21:53:56 2017 +0100 patch 8.0.0388: filtering lines changes folds Problem: filtering lines through "cat", without changing the line count, changes manual folds. Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from neovim #6194.
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Feb 2017 22:00:05 +0100
parents 238f5027830c
children 1090d6637cfd
line wrap: on
line source

Results of test69:


{
XYZ
abc
XYZ

XYZ
abc
XYZ
}


{


a

a







a

a




}


{


a

a




a

ab

abc

ab

c
ab





a

a




a

ab

abc

ab

c
ab


}


{


  a



  a
}


{


a



a
}


{

Xa
Xa
XY
XY
XY
XZ
X Y
X Y
X Z
XX
XXa
XXY


Xa
Xa
XY
XY
XY
XZ
X Y
X Y
X Z
XX
XXa
XXY
}


{

a
}


{
 four
}

ra test
aaaa
aaa


áx


byteidx
[0, 1, 3, 4, -1]
[0, 1, 4, 5, -1]
byteidxcomp
[0, 1, 3, 4, -1]
[0, 1, 2, 4, 5, -1]


substitute
a1a2a3a