Public bug reported: gedit fails to highlight matching brackets which have more than 2000 characters between them. If I have a long-ish block of code in which the opening and closing brackets are greater than 2000 characters apart, I'm unable to leave the input cursor sitting next to one and have the other be highlighted when I scroll to it. If they are less than 2000 characters apart, things work as expected.
Steps to reproduce: 1) Open gedit 2) Enable the "highlight matching bracket" option in preferences 3) Insert a "{" on line 1 4) Insert 2000 characters of your choice, followed by a "}" 5) Leave the cursor next to one of the brackets and then scroll to the other bracket. The bracket will not be highlighted. If you remove a character and repeat, the bracket will be highlighted as expected. Seems like this is a simple fix. ** Affects: gedit (Ubuntu) Importance: Undecided Status: Unconfirmed -- "Highlight matching bracket" option doesn't highlight brackets with more than 2000 characters between them https://launchpad.net/bugs/74893 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs