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{}EschO Now I can see first line with one character background been highlighted and an insert cursor over it and '{}' on a second

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{}EschO 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.

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

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

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{\CR}\Esc20O\Escj%100O\Escj% Turn on matchparen plugin: :set nocp :source $VIMRUNTIME/plugin/matchparen.vim Now cursor should be on the }, this line is