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
 HowTo: Prioritizing ambiguous definitions
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rittjc
Ketchup Master

USA
84 Posts

Posted - Dec 31 2003 :  12:47:03 PM  Show Profile
Hey guys,

Sometimes you have ambiguous definitions and VA seems to arbitrarily choose one over the other. For instance iterating a collection in C# you have:

foreach(Object obj in MyObjectCollection)
{
...
}

When I type the foreach line above, VA will "case correct" the G?inG? portion of the clause to be something like the following:

foreach(Object obj In MyObjectCollection)

Notice that the "In" is capitalized which for C# is invalid syntax. I believe that "In" is valid in other languages like VB.NET. I want VA to correct errors it sees in my typing and case correction, but I would like to be able to change the priority so that it defers to the lowercase "in" instead of the capitalized "In" in this case. This is a problem in a small handful of other expressions in C++ I have seen and have always lived with the behavior and gone back and corrected the text manually.

Is there a way to tell VA that G?inG? is preferred over G?InG? or that certain expressions should not be corrected by VA?

Jim

  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000