Public bug reported: Binary package hint: gedit
I have a shell script I'm editting in gedit. There is a comment line which starts: # if the directory specified doesn't exist, print an error and exit Note that there is a single-quote mark in the word doesn't. Since this is a comment, the syntax highlighter should ignore that single quote mark. Instead, it's highlighting everything after that single quote (including a bunch of lines after the comment) in pink as if it were all part of a string literal. The parser for the syntax highlighter should ignore all special characters in comments. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: gedit 2.30.3-1ubuntu1 ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11 Uname: Linux 2.6.35-28-generic i686 Architecture: i386 Date: Fri May 13 13:18:28 2011 ExecutablePath: /usr/bin/gedit InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) ProcEnviron: SHELL=/bin/bash PATH=(custom, no user) LANG=en_US.UTF-8 SourcePackage: gedit XsessionErrors: (gnome-power-manager:1876): Gtk-WARNING **: A floating object was finalized. This means that someone (polkit-gnome-authentication-agent-1:1896): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (nautilus:1894): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed ** Affects: gedit (Ubuntu) Importance: Undecided Status: Invalid ** Tags: apport-bug i386 maverick -- 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/782311 Title: Syntax highlighter (*.sh) parsing comments -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs