Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Bug with parsing C# code and @"" text
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jjlucsy
New Member

USA
9 Posts

Posted - Apr 01 2005 :  10:33:33 AM  Show Profile  Reply with Quote
In a C# file, if I use:

string x=@"
{#";

it will fail to parse beyond that line and fail to show any context beyond that point.
This sequence is the minimum needed to observe the problem. There can be text between the { and # and it will still fail. I was constructing CSS styles in code and is causing a small amount of grief.


Various Info:

VA_X.dll file version 10.1.1293.0
VAOpsWin.dll version 1.2.0.4
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Arial Monospaced 13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 01 2005 :  2:38:47 PM  Show Profile  Reply with Quote
placing this string into a C# file breaks the alt_m list. no functions below this string are shown in this list.

case=551

as a work around can you use "\\n" in a non literal string? for me this fixes the problem.

using your string the VA context and definition fields still update correctly for me when i sit in functions further down the file. your post reads as if these don't work for you. i am using .NET 2003 with VA 1299.

can you confirm that they do break? what other problems are you seeing? it is possible we need a more complex example to see all of the problems.

zen is the art of being at one with the two'ness

Edited by - feline on Apr 01 2005 2:41:06 PM
Go to Top of Page

jjlucsy
New Member

USA
9 Posts

Posted - Apr 01 2005 :  2:44:23 PM  Show Profile  Reply with Quote
Yes, the alt-m list. Sorry. I worked around it by using a different character and replacing it later. I was just reporting it so it can be fixed, not that I couldn't work with or around it. Thanks.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 04 2005 :  2:36:26 PM  Show Profile  Reply with Quote
*ah* i got the impression this was effecting more things than just the alt_m list.

i am glad you were able to work around this easily enough

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 17 2006 :  9:03:16 PM  Show Profile  Reply with Quote
Fixed in 1440.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000