Re: matchparen highlight bug

2006-09-28 Thread Bram Moolenaar
Ilya Bobir wrote: > I've found bug in highlighting when matchparen is used. Not sure it is > because of a matchparen thought. > > Test case > = > gvim > i{}hO > > Now I can see first line with one character background been highlighted > and an insert cursor over it and '{}' on a seco

matchparen highlight bug

2006-09-27 Thread Ilya Bobir
Hello. I've found bug in highlighting when matchparen is used. Not sure it is because of a matchparen thought. Test case = gvim i{}hO Now I can see first line with one character background been highlighted and an insert cursor over it and '{}' on a second line, both highlighted. N

Re: Matchparen highlight bug?

2006-06-28 Thread Bram Moolenaar
Mikolaj Machowski wrote: > Create empty file, enter {}, :new, cursor is in new window but parens > are still highlighted. Every window has a cursor position, even though only one is really active. Thus the highlighting isn't wrong. > This example isn't extreme but when returning to previous w

Matchparen highlight bug?

2006-06-28 Thread Mikolaj Machowski
Hello, Create empty file, enter {}, :new, cursor is in new window but parens are still highlighted. This example isn't extreme but when returning to previous window in many colorschemes it makes hard to notice where cursor is. This chunk fixes that: function RmMH() if exists('w:paren_

Re: Matchparen highlight bug

2006-06-27 Thread A.J.Mechelynck
Ilya wrote: gvim –u NONE –U NONE Create file with 100 empty lines, line with {, 20 empty lines and line with }: :exe "normal i{\}\20O\j%100O\j%" Turn on matchparen plugin: :set nocp :source $VIMRUNTIME/plugin/matchparen.vim Now cursor should be on the }, this line is the lowest

Re: Matchparen highlight bug

2006-06-27 Thread Bram Moolenaar
Ilya Bobir wrote: > gvim -u NONE -U NONE > > Create file with 100 empty lines, line with {, 20 empty lines and line > with }: > > :exe "normal i{\}\20O\j%100O\j%" > > Turn on matchparen plugin: > > :set nocp > :source $VIMRUNTIME/plugin/matchparen.vim > > Now cursor should be

Matchparen highlight bug

2006-06-27 Thread Ilya
gvim –u NONE –U NONE Create file with 100 empty lines, line with {, 20 empty lines and line with }: :exe "normal i{\}\20O\j%100O\j%" Turn on matchparen plugin: :set nocp :source $VIMRUNTIME/plugin/matchparen.vim Now cursor should be on the }, this line is the lowest line in the