Perl syntax highlighting fails on // operator
Bug #584657 reported by
Mike.lifeguard
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GtkSourceView |
Invalid
|
Critical
|
|||
gtksourceview2 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: gedit
A line like the following messes up the rest of the script because gedit thinks it is the beginning of a regex instead of the // operator:
my $var = shift // 1;
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gedit 2.30.2-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
CheckboxSubmission: 8b15f4fca5292e9
CheckboxSystem: 988b7c9be54a1e2
Date: Sun May 23 14:34:05 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
PATH=(custom, user)
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: gedit
Changed in gedit (Ubuntu): | |
importance: | Undecided → Low |
Changed in gtksourceview: | |
status: | Unknown → New |
Changed in gtksourceview: | |
importance: | Unknown → Medium |
Changed in gtksourceview: | |
status: | New → Invalid |
Changed in gtksourceview: | |
importance: | Medium → Unknown |
status: | Invalid → Unknown |
Changed in gtksourceview: | |
importance: | Unknown → Wishlist |
status: | Unknown → New |
Changed in gtksourceview: | |
importance: | Wishlist → Critical |
status: | New → Invalid |
To post a comment you must log in.
That's a gtksourceview issue, can confirm the issue, vim shows the code in the right way, will send it upstream.