gedit: JavaScript syntax highlighting false positives for regular expressions
Bug #1520345 reported by
Christopher Night
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
JavaScript syntax highlighting in gedit picks out regexes (regular expressions) when they're not there. To reproduce, open a new file in gedit, change the syntax highlighting option to JavaScript, and enter the following line:
var x = 1 / 2, y = 1 / 2;
Everything between the two slashes is highlighted like a regex. It's true that in JavaScript regexes are delimited by two slashes, but that's not what's happening here.
affects: | ubuntu → gedit (Ubuntu) |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https:/ /wiki.ubuntu. com/Bugs/ Upstream/ GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.