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 Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/640418

Title:
  Please add support for bash highlight in gedit

Status in gedit package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gedit

  There is no highlight mode for bash in gedit. It has support for a lot
  of other scripts  IMHO gedit should come with support for bash and
  other scripts. I know i use gedit for most things,

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: gedit 2.30.3-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
  Uname: Linux 2.6.35-20-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Thu Sep 16 07:56:10 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
  ProcEnviron:
   PATH=(custom, user)
   LANG=C
   SHELL=/bin/bash
  SourcePackage: gedit

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to