Ticket #749 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

padre should take shebang line into account for syntax highlighting

Reported by: jquelin Owned by:
Priority: major Milestone:
Component: editor Version: 0.50
Keywords: Cc:

Description

when opening a script.sh, padre uses shell syntax highlighting.
now, rename script.sh to just script: padre doesn't know which syntax highlighting to use.

however, the first line is #!/bin/bash, which should be a good hint.

Change History

comment:1 Changed 4 years ago by zenogantner

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r12458.

Note: See TracTickets for help on using tickets.