Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Auto-correction bug!

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
znakeeye Posted - Dec 13 2007 : 05:27:30 AM
VS 2008, VAX 2316.

CString argUpper;
if (argUpper.Find( "/V" ) == 0 )
{
}


I select "Find" and type the following: Left(2)
When I have typed the last parenthesis, "Left(2)" is replaced with "Left(Left)". Really strange!
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 14 2007 : 09:30:36 AM
A sample is starting to sound useful using VS2005 and VA 1624 I have just added the following code:

class CMyClass
{
	void Foo(int x);
};

void CMyClass::Foo(int x)
{
	CString argUpper;
	if (argUpper.Find( "/V" ) == 0 )
	{
	}
}

to a C++ header file, and when I select and over type "Find" everything works correctly for me.
znakeeye Posted - Dec 13 2007 : 3:38:28 PM
Actually it was an "else if" inside CMyClass::Foo(int x){} if that matters?

I'll make a sample if you can't reproduce it.
feline Posted - Dec 13 2007 : 3:22:13 PM
Not for me, I have just tried this, and I ended up with:

static void testTypingLeft()
{
	CString argUpper;
	if (argUpper.Left(2)|( "/V" ) == 0 )
	{
	}
}

Is this file / context specific?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000