← Back to team overview

desktop-packages team mailing list archive

[Bug 1520345] [NEW] gedit: JavaScript syntax highlighting false positives for regular expressions

 

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 Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1520345

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

Status in gedit package in Ubuntu:
  New

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.

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


Follow ups