Strings that do not start with double quote

Strings that do not start with double quote

46
Basic UserBasic User
46

    Dec 21, 2004#1

    Hi all,

    I'm writting VHDL and have strings that not start with quotes
    i.e: X"CAFE_BEBE" for hexadecimal string
    or B"0010_0011" for binary string

    Is there a way to correctly higlight those strings?

    Thank's

    6,605548
    Grand MasterGrand Master
    6,605548

      Dec 21, 2004#2

      Try this:

      1) Replace String Chars = definition by Noquote (case-sensitive!!!).

      2) Delete the string characters from the /Delimiters = list.

      3) Define a special color group for your strings with the substring expression. See UltraEdit help about Syntax Highlighting for details. Example:

      /C8"Strings"
      ** " B" X"


      4) Assign your default string color to this color group.
      Best regards from an UC/UE/UES for Windows user from Austria

      46
      Basic UserBasic User
      46

        Dec 21, 2004#3

        Thank's Mofi.

        I did as you explain except for the "Noquote" (because I want to highlight standard strings too) and it seems to work just as I want.

        Alain.