After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 531832 - Matching brackets are not highlighted if the other is outside the current view
Matching brackets are not highlighted if the other is outside the current view
Status: RESOLVED DUPLICATE of bug 384029
Product: gtksourceview
Classification: Platform
Component: General
2.2.x
Other All
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-06 20:53 UTC by adys.wh
Modified: 2008-08-03 02:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description adys.wh 2008-05-06 20:53:25 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:
Comment 1 adys.wh 2008-05-06 21:04:13 UTC
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 :)
Comment 2 Yevgen Muntyan 2008-06-18 17:42:46 UTC
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?
Comment 3 Yevgen Muntyan 2008-06-18 17:56:46 UTC
The limit is increased to 10000, so it should be better now.
Comment 4 Yevgen Muntyan 2008-08-03 02:22:11 UTC

*** This bug has been marked as a duplicate of 384029 ***