Tapatalk

Default syntax highlight for all files?

Default syntax highlight for all files?

2
NewbieNewbie
2

    Jul 27, 2004#1

    Hi,

    I would like UltraEdit to start up using a specific color scheme every time, if the file extention does not exist in the wordfile anywhere. How can I do this?

    I need this because in my programming environment, the script file extension changes every time I open a new editor (eg. filename.e01, .e02, .e03). I would like these to always use syntax highlighting.

    Any ideas?
    Thanks,
    Dave

    6,685587
    Grand MasterGrand Master
    6,685587

      Jul 21, 2005#2

      Simply add an asterisk * to the list of extenstions for that language in your wordfile. For example:

      /L8"PHP" PHP_LANG Nocase EnableMLS Line Comment = // Line Comment Alt = # Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = "' File Extensions = INC PHP PHP5 *

      Note: The * must be the last file extension in the list and of course only 1 language can have this wildcard for highlighting all files with a file name or file extension not specified anywhere else in the wordfile with that language definition.
      Best regards from an UC/UE/UES for Windows user from Austria

      1
      NewbieNewbie
      1

        Jul 21, 2005#3

        Thanks, this works.