GNOME Bugzilla – Bug 655536
Syntax highlighting fails with -s function in Perl
Last modified: 2013-03-29 18:28:20 UTC
Created attachment 192835 [details] screenshot illustrating problem When gedit v2.30.3 is editing a Perl script, use of Perl's -s function causes text following it to be treated as a string for the purposes of text-colouring. my $a = -s "~/.bashrc"; # The closing quote, semicolon, and this comment are all syntax-highlighted as being regular expression or string
there is a suggested patch from "nmz (s-namitha-s)" on https://launchpadlibrarian.net/106997370/diff_perl.txt
Seems to be duplicate of 594501
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 594501 ***