How to apply syntax highlighting to *.lv*

How to apply syntax highlighting to *.lv*

2
NewbieNewbie
2

    Jan 05, 2006#1

    Hi all,

    I have an issue where I need to add files as *.lv1 through *.lv12 in addition to some other extensions for the same language. The problem has arisen where I have run out of space for additional extensions.

    From the 16th extension and on they don't get the syntax highlighting. I've tried "File Extensions = LV[0-9]" and "File Extensions = LV*"; the former does not work and the latter translates as "File Extensions = *".

    Anyone have any ideas?

    RacerRex

    6,686585
    Grand MasterGrand Master
    6,686585

      Jan 06, 2006#2

      Wildcards are not possible for the file extension specification except the * for default highlighting. Simply copy the whole syntax highlighting block for LV* to a second language number, distribute the extensions over both identical syntax highlighting definitions and use the same color settings for both language settings. Not a perfect and pretty solution, but it should work.
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Jan 06, 2006#3

        Thanks Mofi. I had thought of that but I was hoping that there would be a more elegant way.

        Thanks again.