sh highlight mode incorrect
Bug #126079 reported by
Andre M
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.
This has been fixed in Gutsy.