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
 Wrongs suggestion after typing bool
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - Feb 04 2004 :  02:24:13 AM  Show Profile
I am in a class block, at the end.
I type bool and press tab, VA shows a suggestion and if I press tab morethan once because I want to align my code I get the suggestion.

Martin
class
{
// Some code here ...

protected:
// Protected data only for internal use
CString m_strDatPath;
Konto::_isehKontoPtr m_spKto;
bool<tab><tab>
};

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

support
Whole Tomato Software

5566 Posts

Posted - Feb 04 2004 :  11:19:59 AM  Show Profile
This sounds like a timing problem.

What IDE and build of VA X do you have?

Do you have Autotext enabled on the Completion node of our options dialog?

When you type "bool", there is no good reason VA X should display a suggestion listbox. You should be able to press Tab twice to get two tabs in your code.

If you type just "b", VA X might display a suggestion listbox. One Tab might accept "bool". Another Tab should get inserted in your code.

Does the problem occur every time? If you type slowly?

Did you type "bool" or a prefix before pressing Tab the first time?

Whole Tomato Software, Inc.
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Feb 05 2004 :  02:56:43 AM  Show Profile
Sorry that I missed to supply this infos: VS.NET 2003 VA build 1215

>Do you have Autotext enabled on the Completion node of our options dialog?

Yes!

> Does the problem occur every time?

Yes!

> If you type slowly?

Yes, bug occurs.

Detailed description:
1. I type a b
- VA shows me BOOL and bool in a list (bool is selected)
2. I press TAB
- VA expand b to bool. The cursor is directly behing the l (no TAB inserted) and directly shows a new suggestion box i.E. bUpdateWeight which is a function argument somewhere in my code. This argument has nothing to do with the class I am writing.
3. Pressing TAB again adds this suggestion, I need to press ESC first.

Martin



Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page
  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