Syntax highlighting with condition

Syntax highlighting with condition

1

    Mar 08, 2005#1

    How can I highlight "mode_type, IDLE and CAPTURE" in the following text example where "TYPE" is the reserved keyword which controls whether or not to highlight?

    Text Ex.:
    TYPE mode_type IS (IDLE, CAPTURE);


    Thanks,
    PumpKinSmasher

    6,675585
    Grand MasterGrand Master
    6,675585

      Mar 12, 2005#2

      It is not possible to define words for syntax highlighting based on conditions. Whether a word is highlighted always or never, except words inside a comment or string.
      Best regards from an UC/UE/UES for Windows user from Austria