Public bug reported:

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.

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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.

-- 
sh highlight mode incorrect
https://bugs.launchpad.net/bugs/126079
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug contact for gedit in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to