Activity log for bug #1264152

Date Who What changed Old value New value Message
2013-12-25 20:25:17 Teo bug added bug
2013-12-25 20:25:52 Teo attachment added Screenshot illustraring issue https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1264152/+attachment/3935611/+files/Screenshot%20from%202013-12-25%2021%3A16%3A28.png
2013-12-25 20:27:56 Teo description See screenshot. This is a JS file. There are portions of expressions that are incorrectly highlighted in pink as if they were strings. There is no syntax error before or after the captured portion of text. The script is parsed as expected by the javascript interpreter, so the syntax highlight is wrong. Oh my ******* god, I see what the problem is!! The portion between "/" and "/" are highlighted as if they were regular expressions. But they aren't, nor does the parser of the language interpreter interpret them as such, nor does the standard say they should, so the syntax highlighting is wrong. Couldn't GEdit just use the same language definitions that are actually used by true languages (I guess most of them are available as open source), so that you don't have to rewrite definitions to emulate the behavior of language parsers? Gedit is FULL of bugs like these (see how it wrongly parses PHP within HTML, for example), so if it could just take language definitions from true parsers, maybe we would finally get rid of all these syntax highlight annoyances at once. Or is that not feasible? ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: gedit 3.6.2-0ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-34.49-generic 3.8.13.12 Uname: Linux 3.8.0-34-generic x86_64 ApportVersion: 2.9.2-0ubuntu8.5 Architecture: amd64 Date: Wed Dec 25 21:16:41 2013 InstallationDate: Installed on 2013-10-11 (75 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) MarkForUpload: True SourcePackage: gedit UpgradeStatus: No upgrade log present (probably fresh install) See screenshot. This is a JS file. There are portions of expressions that are incorrectly highlighted in pink as if they were strings. There is no syntax error before or after the captured portion of text. The script is parsed as expected by the javascript interpreter, so the syntax highlight is wrong. Oh my ******* god, I see what the problem is!! The portion between "/" and "/" are highlighted as if they were regular expressions. But they aren't, nor does the parser of the language interpreter interpret them as such, so the syntax highlighting is wrong. ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: gedit 3.6.2-0ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-34.49-generic 3.8.13.12 Uname: Linux 3.8.0-34-generic x86_64 ApportVersion: 2.9.2-0ubuntu8.5 Architecture: amd64 Date: Wed Dec 25 21:16:41 2013 InstallationDate: Installed on 2013-10-11 (75 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) MarkForUpload: True SourcePackage: gedit UpgradeStatus: No upgrade log present (probably fresh install)
2013-12-25 20:41:41 Teo summary Syntax highlight: nonsense pink coloring of portions of expressions in JS Syntax highlight (JS): Portions of expressions between / and / taken as regular expressions
2013-12-26 11:56:02 Sami Jaktholm affects gedit (Ubuntu) gtksourceview3 (Ubuntu)
2013-12-26 11:56:02 Sami Jaktholm gtksourceview3 (Ubuntu): status New Confirmed
2013-12-26 11:56:18 Sami Jaktholm bug watch added https://bugzilla.gnome.org/show_bug.cgi?id=685885
2013-12-26 11:56:18 Sami Jaktholm bug task added gtksourceview
2013-12-26 12:22:04 Bug Watch Updater gtksourceview: status Unknown New
2013-12-26 12:22:04 Bug Watch Updater gtksourceview: importance Unknown Medium
2014-01-06 14:46:51 Sebastien Bacher gtksourceview3 (Ubuntu): status Confirmed Triaged
2014-01-06 14:46:54 Sebastien Bacher gtksourceview3 (Ubuntu): importance Undecided Low
2015-04-16 07:37:34 Bug Watch Updater gtksourceview: status New Fix Released