Mercurial > vim
view src/testdir/test69.ok @ 2809:ed47d18b39c6 v7.3.180
updated for version 7.3.180
Problem: When both a middle part of 'comments' matches and an end part, the
middle part was used errornously.
Solution: After finding the middle part match continue looking for a better
end part match. (partly by Lech Lorens)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 May 2011 13:38:27 +0200 |
parents | 9e554211caf5 |
children | d179a8eff9d7 |
line wrap: on
line source
Results of test69: { XYZ abc XYZ XYZ abc XYZ } { X X a X a X Y X Y X X a X a X Y X Y } { X X a X a X Y X Y a X ab X abc X ab X c ab X Y X X a X a X Y X Y a X ab X abc X ab X c ab X Y } { X X a X X a } { X X a X X a } { X Xa Xa XY XY XY XZ X Y X Y X Z XX XXa XXY X Xa Xa XY XY XY XZ X Y X Y X Z XX XXa XXY } { X a }