GNOME Bugzilla – Bug 531832
Matching brackets are not highlighted if the other is outside the current view
Last modified: 2008-08-03 02:22:11 UTC
Please describe the problem: Matching brackets are not being properly highlighted if the cursor is at a opening or closing bracket that is outside the current screen view. Steps to reproduce: 1. Make sure matching bracket highlighting is turned on. Write an opening bracket/parenthese. 2. Put enough gibberish so that the bracket gets outside the screen view. 3. Get the cursor to one of the bracket and scroll so that the cursor goes outside the screen view. Actual results: The bracket is not being highlighted, this is annoying when working on large blocks of code. Expected results: Bracket should be highlighted. Does this happen every time? 100% reproducible. Other information:
Apologies, it seems it's not 100% reproducible. Though I could get it always reproduced with this block of text on three different installs: http://gedit.pastebin.org/34321 And yes, i double checked if there were no additional brackets :)
If I understand it correctly, the problem is that the matching bracket won't be detected if it's more than 2000 characters away from the first one. Could you confirm it?
The limit is increased to 10000, so it should be better now.
*** This bug has been marked as a duplicate of 384029 ***