More than 2 String Chars?

More than 2 String Chars?

13
Basic UserBasic User
13

    Jan 13, 2006#1

    I noticed this in v10, and figured it must be fixed in v11, but I just installed it and the problem persists: for some languages, I have more than 2 String Chars. For ksh, for example, I have ' " and `, such that all of these should be seen as strings:

    'single quote'
    "double quote"
    `right quote`

    The right quote does not show up as a string. If I remove the " and just have '` then the right quote is shown as a string.

    Is this a bug? A feature?

    6,687587
    Grand MasterGrand Master
    6,687587

      Jan 13, 2006#2

      From help of UltraEdit about syntax highlighting:

      The default characters for strings are single and double quotes (') and ("). These may be overridden with the keywords "String Chars = " followed by up to two characters. This is only required if you wish to use different characters from the default.

      But you can expand the strings definition with marker characters.

      1) Remove String Chars = from your language setting to automatically specify "' as string characters.


      2) Add following line before first color group //C1

      /Marker Characters = "``"


      3) Add following lines to your language definition:

      /C8"Right quote string"
      ``


      You can use also a different color group (C7, C6, ...).


      4) Specify the color for "Right quote string". (18 characters is maximum for the name!) It can be the same color as for Strings or a different one to get the "wrong" strings marked.
      Best regards from an UC/UE/UES for Windows user from Austria

      13
      Basic UserBasic User
      13

        Jan 13, 2006#3

        Sweet! Thanks. That, along with the Line Comment Preceding Chars option will fix two of my biggest pet-peeves about UE Syntax Highlighting in Perl. It is a bonus that it will fix it in ksh, too.