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
 2 bugs: private inheritance, coloring
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 24 2009 :  12:49:40 PM  Show Profile  Reply with Quote
VS2005 SP2
VAX 1715
Options|Advanced|Refactoring - everything selected

Consider the following sample:



Bug #1:
Incorrect error markers on lines 11, 12 and 25
In line 25, when the cursor is after "i->", ALT-space does not open a members box.

Bug #2:
When the cursor is on "std" in line 2, incorrect coloring appears on line 1.

Edited by - Alexo on Feb 25 2009 1:57:55 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 25 2009 :  1:12:43 PM  Show Profile  Reply with Quote
Go to Top of Page

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 25 2009 :  1:58:19 PM  Show Profile  Reply with Quote
Sorry, fixed the image.

Edited by - Alexo on Feb 25 2009 1:58:31 PM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 25 2009 :  4:42:51 PM  Show Profile  Reply with Quote
point 1: I don't see incorrect coloring in line 1. Can you explain the problem, please?
point 2: I got mixed results here: I cannot reproduce the first and the second underline. I used this code:

class MyMap : private map<int, int>
{
private:
	typedef map<int, int> Parent;

public:
	typedef Parent::iterator iterator;
	Parent::begin;
	Parent::end;
};

Can you please create a new win32 test project to see if you can reproduce it there with this code? I wonder whether your project contains something that confuses our parser.

But I was able to reproduce your third underline:

case=24414

You change this line

typedef Parent::iterator iterator;
into
typedef map<int, int>::iterator iterator;

and then remove this line
typedef map<int, int> Parent;

as a workaround so Visual Assist will not underline "second".

Edited by - accord on Feb 25 2009 4:47:46 PM
Go to Top of Page

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 26 2009 :  09:33:36 AM  Show Profile  Reply with Quote
Hi accord,

quote:
Originally posted by accord

point 1: I don't see incorrect coloring in line 1. Can you explain the problem, please?

The "#" sign is highlighted.

quote:
Originally posted by accord

Can you please create a new win32 test project to see if you can reproduce it there with this code?

How do I email you a zip file?

quote:
Originally posted by accord

You change [...] as a workaround so Visual Assist will not underline "second".

Not if I work in a corporate environment with a large existing body of mission-critical code and coding conventions. My personal opinion on the quality of said code and/or conventions is completely beside the point.

Regards,
Alex.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 26 2009 :  3:43:21 PM  Show Profile  Reply with Quote
>The "#" sign is highlighted.
*ah* It is pallid, but now I see it.
I have turned on Automatic highlight so I'm seeing the problem now:

case=24459

You can send the zip file, via the contact form, including the thread ID or URL in the description, so we can match it up:

http://www.wholetomato.com/support/contact.asp
Go to Top of Page

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 26 2009 :  5:10:25 PM  Show Profile  Reply with Quote
Files sent.

When I opened the project today the "begin" and "end" did not have the underlines bet were coloured differently.
After closing the environment, deleting the "debug" folder and reopening both were coloured correctly.
After rebuilding, the differences reappeared. I suspect some conflict with IntelliSense.

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 27 2009 :  3:21:20 PM  Show Profile  Reply with Quote
I got the file, thank you.

I am seeing the same effect on "begin" when I turn on

VA Options -> Advanced -> Fonts and Colors -> Stable symbols in Italic

Have you turned it on?

But "end" is also italic and claret-coloured for me.

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into this thread. This will give us the basic information about your setup.

Edited by - accord on Feb 27 2009 3:23:28 PM
Go to Top of Page

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 27 2009 :  3:43:59 PM  Show Profile  Reply with Quote
quote:
VA_X.dll file version 10.5.1715.0 built 2009.01.25
Licensed to:
<removed>
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Consolas 13(Pixels)
Comctl32.dll version 6.0.2900.5512
Windows XP 5.1 Build 2600 Service Pack 3
4 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;


Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 02 2009 :  3:40:44 PM  Show Profile  Reply with Quote
"begin" and "end" are not always recognized in your project:

case=24604

This effect is erratic. I've done a lot of tests but never was able to reproduce it consistently...
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