Author |
Topic |
|
pwaugh
Ketchup Master
USA
68 Posts |
Posted - Nov 18 2006 : 12:01:34 AM
|
When in a .cpp file of a class I type:
CduPage::Ge
VA X pops up a list that correctly shows me the GetPage() method, but it shows it twice, one bolded, and once not, with one of them showing as "GetPage()" and the other "GetPage".
Why is this? Can I have it show me just one?
Thanks
|
Programming in C++
VA_X.dll 10.4.1626.0 Built 2008.01.17
(1-user license) Support ends 2009.01.29
DevEnv.exe version 9.0.21022.8 msenv.dll version 9.0.21022.8 Comctl32.dll version 6.0.2900.2982 Windows XP 5.1 Build 2600 Service Pack 2 Single processor Platform: Win32
|
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Nov 18 2006 : 08:55:38 AM
|
Is this a suggestion listbox, with question mark icons? If so then VA is saying "you may want this bit of text", suggestion lists are not limited to only functions and variables, I have had VA suggest ", " before, and other small snippets of text.
However I don't think I have ever seen bold text in a suggestion listbox.
Can you reproduce this effect? Any chance of a screen shot? You can send us one and we can post it to the forum if that helps. Please make it a fairly small png or gif image, and use:
http://www.wholetomato.com/support/contact.asp
referencing this thread in the description, so we can match it up. |
zen is the art of being at one with the two'ness |
Edited by - feline on Nov 18 2006 08:57:07 AM |
|
|
pwaugh
Ketchup Master
USA
68 Posts |
Posted - Nov 18 2006 : 4:13:31 PM
|
Hi,
I guess you call it the "member listbox".
Here is a screenshot of the box.... but after I messed with options (or it reparsed) it is now not doing it.
Before it would have 2 entryies like:
GetPage() GetPage
Thanks for any ideas on this.
|
Programming in C++
VA_X.dll 10.4.1626.0 Built 2008.01.17
(1-user license) Support ends 2009.01.29
DevEnv.exe version 9.0.21022.8 msenv.dll version 9.0.21022.8 Comctl32.dll version 6.0.2900.2982 Windows XP 5.1 Build 2600 Service Pack 2 Single processor Platform: Win32
|
|
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Nov 20 2006 : 08:44:42 AM
|
The two options:
VA Options -> Text Editor -> listboxes -> bold non-inherited members VA Options -> Text Editor -> listboxes -> list non-inherited entries first
may have had some effect on this. Certainly turning on bold non-inherited members would explain why you have bold items in this list, but you should not have duplicates like that. To start with you should never see brackets in the list its self.
If this starts happening again can you check the setting:
VA Options -> Text Editor -> listboxes -> Get content from default Intellisense
If this is turned on, and you are working in C or C++ then the content of these lists comes from the IDE. If this is turned off then the content comes from VA.
So far my only guess is that something in your code confused the parser, and the symbol database was not quite right. The reparse would probably fix this. Still, you should not have to do that. |
zen is the art of being at one with the two'ness |
|
|
pwaugh
Ketchup Master
USA
68 Posts |
Posted - Nov 20 2006 : 09:37:13 AM
|
Ok. I probably had get info from default intellisense on or something. If I can do it again, I'll post here about how I did it, but I have not had it happen again in 2 days. I wasn't worried about it, I just wanted to understand it better really. Probably my poor code, hehe.
|
Programming in C++
VA_X.dll 10.4.1626.0 Built 2008.01.17
(1-user license) Support ends 2009.01.29
DevEnv.exe version 9.0.21022.8 msenv.dll version 9.0.21022.8 Comctl32.dll version 6.0.2900.2982 Windows XP 5.1 Build 2600 Service Pack 2 Single processor Platform: Win32
|
|
|
|
Topic |
|