! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mousepad - wrong syntax highlight
Status:
RESOLVED: WORKSFORME
Product:
Mousepad
Component:
General

Comments

Description Jone 2015-04-24 22:30:43 CEST
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  ;;
Comment 1 Matthew Brush editbugs 2015-04-25 22:30:06 CEST
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

Bug #11852

Reported by:
Jone
Reported on: 2015-04-24
Last modified on: 2015-04-25

People

Assignee:
Matthew Brush
CC List:
1 user

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.2.x

Attachments

bad highlight (23.28 KB, image/png)
2015-04-24 22:30 CEST , Jone
no flags

Additional information