Tapatalk

dot net @" escape sequence

dot net @" escape sequence

1
NewbieNewbie
1

    Nov 01, 2005#1

    Is there anyway to get UE to correctly highlight strings in C# or VB.NET that have been escaped using the @ sybmol?

    Example:

    String test = @"\ <- Notice: I didn't have to double the backslash to escape it";

    2
    NewbieNewbie
    2

      Dec 05, 2006#2

      I was wondering this as well.

      If you don't use escapes in strings you can remove the 'Escape Char = \' definition.

      6,685587
      Grand MasterGrand Master
      6,685587

        Dec 30, 2007#3

        With UltraEdit v13.00 IDM has added the String Literal Prefix = @ definition which must be written on the language definition line for "C#" to highlight such strings correct.
        Best regards from an UC/UE/UES for Windows user from Austria