Public bug reported:

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: gedit (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: ubuntu => gedit (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1520345

Title:
  gedit: JavaScript syntax highlighting false positives for regular
  expressions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1520345/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to