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 551942 - Bracket-Containing Comments Break Bracket Matching
Bracket-Containing Comments Break Bracket Matching
Status: RESOLVED DUPLICATE of bug 547151
Product: gtksourceview
Classification: Platform
Component: General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-12 11:27 UTC by Fredrik S.
Modified: 2009-03-06 12:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Fredrik S. 2008-09-12 11:27:23 UTC
(Say that seven times.)

Description/steps to reproduce:
<html>
<head>
</head>
<body>
	<script type="text/javascript">
		document.write("Hello World!"/* ) */ );
	</script>
</body>
</html>

If the cursor is at the "(" after "document.write", it highlights the commented ")" as its match.
Comment 1 Paolo Borelli 2009-01-02 11:21:11 UTC
Yeah, bracket highlighting is fairly stupid, it doesn't know about highlighting contexts
Comment 2 Ignacio Casal Quinteiro (nacho) 2009-03-06 12:00:20 UTC

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