dot net @" escape sequence

Syntax highlighting, code folding, brace matching, code indenting, and function list

dot net @" escape sequence

Postby jlong » Mon Oct 31, 2005 8:51 pm

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";
User avatar
jlong
Newbie
 
Posts: 1
Joined: Mon Oct 31, 2005 12:00 am

Re: dot net @" escape sequence

Postby hardija » Mon Dec 04, 2006 8:55 pm

I was wondering this as well.

If you don't use escapes in strings you can remove the 'Escape Char = \' definition.
User avatar
hardija
Newbie
 
Posts: 2
Joined: Mon Dec 04, 2006 12:00 am

Re: dot net @" escape sequence

Postby Mofi » Sun Dec 30, 2007 2:54 pm

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.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4062
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Syntax Highlighting