How can I activate bash syntax highlighting

How can I activate bash syntax highlighting

5
NewbieNewbie
5

    Feb 17, 2005#1

    How can I make Ultraedit detect the text being edited as bash code and activate the syntax highlighting ?

    Renaming the file to a particular extension is of course not acceptable.

    Can it be made to detect #!/bin/bash on the first line of the file ?

    Cheers OR
    (using UltraEdit v6.0)

    12
    Basic UserBasic User
    12

      Feb 17, 2005#2

      Short answer: No.
      Regards from France
      Kenavo from Brittany

      5
      NewbieNewbie
      5

        Feb 17, 2005#3

        Thanks for the answer. It seems I am stuck :o(

        Is it also not possible to activate syntax highlighting manually while editing, independently of the filename?

        Can syntax highlighting also not be activated by a macro?

        (I was thinkin about having a macro read the first line and switch bash-highlighting on if it found #!<anything>/bash)

        Would any of this be possible in a newer version of UltraEdit? (currently using v6.0)

        Cheer OR

        3
        NewbieNewbie
        3

          Feb 17, 2005#4

          Not sure it was in 6.0, but in later versions you can manually set the highlighting scheme under View -> View as...

          12
          Basic UserBasic User
          12

            Feb 17, 2005#5

            or254498 wrote:Can syntax highlighting also not be activated by a macro?
            Good idea but not possible.
            Regards from France
            Kenavo from Brittany