Could we reopen this, please?

gedit has highlighting for sh, but not for bash.

Most of the time, this works fine for bash, but sometimes it goes wrong.

For example, use a command substitution that contains a quote within
case-esac as follows.

#!/bin/bash
case ${SOMETHING} in
    ( 'a' )
        FILENAME="$( readlink "${ARG}" )"
        ;;
esac
CONFUSING_LINE="case esac"

Starting from the line with the command substitution, gedit thinks that
the rest of the file is within quotes — except those that are parts that
are actually within quotes! This makes it confusing to edit a large
script.

Thank you

** Changed in: gedit (Ubuntu)
       Status: Expired => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/640418

Title:
  Please add support for bash highlight in gedit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/640418/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to