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
 Typing over selected text bug?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Masaz
New Member

6 Posts

Posted - Jul 08 2011 :  09:22:50 AM  Show Profile  Reply with Quote
Say I have:

foo->IsVisible();

If I select from > to ) and then type > to replace that selected text and get autocomplete to display again, the cursor stays between the - and the > instead of moving past the >. So when I type in text to narrow down the autocomplete it fills in the wrong spot and cancel autocomplete. For example, if I make the selection and type ">isE" I get this:

foo-isE>

This also happens if I press "." in the same situation. This has been happening in the last several versions.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 08 2011 :  8:53:58 PM  Show Profile  Reply with Quote
I wasn't able to reproduce the problem. Is that you exactly select? Can you please try if you can reproduce the problem using the following code? Are you using any other Visual Studio extensions? What did you set as your keyboard scheme?



Text version for copy-paste:
class cClass
{
	int Apple;
	bool IsVisible() {return false;}
};

void f()
{
	return (int) msg.wParam;
	cClass* foo;
	foo->IsVisible();
}
Go to Top of Page

Masaz
New Member

6 Posts

Posted - Jul 11 2011 :  5:28:07 PM  Show Profile  Reply with Quote
I forgot to mention this is with VS2008 and I have no other extensions installed. With 2008 that code gives me the same error: the cursor ends up before the '>', so I get foo-|>.

With 2010 it works as expected. So this seems to be limited to 2008.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 11 2011 :  9:06:35 PM  Show Profile  Reply with Quote
I am now seeing the same effect here. Thank you for the clear description.

case=2163
Go to Top of Page

Masaz
New Member

6 Posts

Posted - Jul 22 2011 :  9:30:35 PM  Show Profile  Reply with Quote
I've found this also happens when typing parenthesis. Say I have "keyword_" and select the '_'. If I type "()" I end up with "keyword)(". Again, this is 2008 only.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 25 2011 :  5:47:20 PM  Show Profile  Reply with Quote
Yes, similar problem. I have added this test case to the bug report.
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