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
 Selections wrongly committed with open paren
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

undersan
New Member

4 Posts

Posted - Aug 31 2010 :  12:58:15 PM  Show Profile  Reply with Quote
I start to type a C++ method call like this:

my_container.len

The VA listbox offers only a partial listing of all this container's methods. It doesn't know about len() (which I want), but it knows about adjust_length(). So, when I type an open paren, it changes the line to my_container.adjust_length().

In VA Listboxes config, under "Selections committed with:", I only have Tab and Enter checked, so why does it even try to commit when I type the open paren?

Obviously, it would be great if VA knew about all my container's methods (including inherited), but I'm sure it's a hard problem and I don't expect perfection. This commit-on-open-paren behavior is annoying, though.

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Sep 01 2010 :  11:20:54 AM  Show Profile  Reply with Quote
This FAQ explains why the listbox is being accepted, and tell you how to change this behaviour:

http://docs.wholetomato.com?W371

If you are able to post, or send me a copy of the container declaration then I can have a look, and perhaps put in a bug report, or suggest something to help VA parse it.

If you want to send a file then please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

zen is the art of being at one with the two'ness
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