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 584736 - Bracket Highlight broken with quotes.
Bracket Highlight broken with quotes.
Status: RESOLVED DUPLICATE of bug 547151
Product: gtksourceview
Classification: Platform
Component: General
2.6.x
Other All
: Normal trivial
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-03 15:57 UTC by Mike Roberts
Modified: 2009-06-03 16:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Mike Roberts 2009-06-03 15:57:32 UTC
Please describe the problem:
When entering code in apps that use gtksourceview, bracket highlighting match up to brackets inside of quotes.

Consider the following text:

int main()
{
    char g = '}';
}

put the cursor like so:
char g = '}|';

you will see that the brackets are highlighted.

Steps to reproduce:
1. Enter the above text.
2. Move the cursor to the bracket in the quote.
3. Notice the highlighting.


Actual results:
The wrong brace or parenthesis are highlighted.

Expected results:
No highlighting should occur when the cursor is inside of a comment, or quote.

Does this happen every time?
Yes

Other information:
Comment 1 Ignacio Casal Quinteiro (nacho) 2009-06-03 16:03:24 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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