Created attachment 6218 bad highlight Mousepad 0.4.0 (OpenSUSE 13.1) Color scheme "Tango" language: Script > sh Wrong syntax highlight near line 56 and further in this fragment: 50 ;; 51 -r ) 52 conv 53 echo -n > ~/.thunar_h # HARDCODED! 54 while read line 55 do 56 echo "$(basename "$line")" >> ~/.thunar_h 57 done < HIST1 58 gtkdialog --program=MAIN_DIALOG 59 ;; 60 * ) 61 help 62 exit 0 63 ;;
The syntax highlighting is entirely in the hands of GtkSourceView[0], Mousepad doesn't do anything additional to highlighting. I guess it would be best to use their bug tracker[1]. Although it might be fixed already as that code seems to highlight ok here. I'm going to close this bug since we don't maintain GtkSourceView. [0]: https://wiki.gnome.org/Projects/GtkSourceView [1]: https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gtksourceview