sh highlight mode incorrect

Bug #126079 reported by Andre M
4
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

gedit does not consider $# specially and treats everything after the hash as a commentary.

For instance, when editing the following code as a .sh script:

#!/bin/bash
echo $# arguments

On the second line, everything after the "$" is colored as a commentary, when in fact $# is a special variable.

I'm using Ubuntu Feisty, gedit 2.18.1.

Andre M (maroneze-a)
description: updated
Revision history for this message
Jeremy Teale (jteale) wrote :

This has been fixed in Gutsy.

Changed in gedit:
importance: Undecided → Low
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.