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
 1440 Coloring Bug?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sasa
Tomato Guru

272 Posts

Posted - Jan 28 2006 :  9:07:22 PM  Show Profile  Reply with Quote

Only the first local variable is colored correcly. The three "key" vars should be colored orange.


If I add a comma after the "key", it gets colored correctly.

Btw, I know that the code won;t compile due to redifinition and such. It just used as an exmaple.

C++
Visual Studio 2008 Pro
Windows 7 x64

Edited by - Sasa on Jan 28 2006 9:10:15 PM

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Jan 29 2006 :  2:11:30 PM  Show Profile  Reply with Quote
using C++, VS2003 and VA 1440 when i type in this code i get the following effect:



clearly not the same mixed colouring of key as you. can you tell me the colour rules you have applied to get key like that. it will save me guessing. plus are you only using VA rules, or are there any relivent IDE colour rules?

plus which IDE, version of VA and language are you using? i am guessing C++ from the destructor, but i am not certain.

zen is the art of being at one with the two'ness
Go to Top of Page

Sasa
Tomato Guru

272 Posts

Posted - Jan 29 2006 :  8:54:30 PM  Show Profile  Reply with Quote
quote:
clearly not the same mixed colouring of key as you. can you tell me the colour rules you have applied to get key like that.
quote:

Yes, your coloring seems correct. here are my color settings:


[quote]plus are you only using VA rules, or are there any relivent IDE colour rules?

I am using both rules, but I think VAX overrides them?

[quote]plus which IDE, version of VA and language are you using? i am guessing C++ from the destructor, but i am not certain.


I formatted my system last week and I am running Visual Studio 2005 and downloaded the new version 1440 of VAX two days ago. My subscription only covers up to 1428 I think. SO I am giving the latest version a trial ti see if it is worth it to upgrade.
Yes, it is C++.


I decided to do further trials. I started a new console project, and I chose "empty project" as my option. Then to the sources folder I added a myClass.cpp file. Then I pasted the following:

myClass::myClass(void)
{
}

myClass::~myClass(void)
{
}

void myClass::setProperty(string key, string value )
{	
}

string myClass::getProperty(string key )
{
	// return code
	return string();
}


This is what I get:


The exact same behavior.

C++
Visual Studio 2008 Pro
Windows 7 x64

Edited by - Sasa on Jan 29 2006 8:55:10 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Jan 30 2006 :  3:24:57 PM  Show Profile  Reply with Quote
after some fiddling about i managed to get the exact same colours for VA as you. i then followed the same steps as you, and i am getting:



do you have any other plugin's installed? are you using a localised IDE? *where* are you copying this text from? i am copying the code from this forum page which is displayed in Firefox 1.5 i am starting to wonder if there is some strange control character at work here.

i will email you via the forum. if you can reply to that email with a zip holding your saved IDE and VA settings, i will import the settings here on a test machine and see if that helps.

VS2005 tools menu -> import and export settings...
VA options -> performance -> general -> export settings

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Jan 30 2006 :  3:39:55 PM  Show Profile  Reply with Quote
plan b, if you email me via the forum i will reply. the email i sent just got bounced.

zen is the art of being at one with the two'ness
Go to Top of Page

Sasa
Tomato Guru

272 Posts

Posted - Jan 30 2006 :  5:12:30 PM  Show Profile  Reply with Quote
Sorry, I am not using my real email. I will try and see what I can send you later this evening to try and figure out the cause of this bug.

Thanks.

C++
Visual Studio 2008 Pro
Windows 7 x64
Go to Top of Page

Sasa
Tomato Guru

272 Posts

Posted - Jan 31 2006 :  9:00:08 PM  Show Profile  Reply with Quote
Feline, did you receive my email?

C++
Visual Studio 2008 Pro
Windows 7 x64
Go to Top of Page

Sasa
Tomato Guru

272 Posts

Posted - Jan 31 2006 :  9:05:53 PM  Show Profile  Reply with Quote
I re-installed VAX 1440, and I am having the same coloring problem.

C++
Visual Studio 2008 Pro
Windows 7 x64
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Feb 01 2006 :  5:08:19 PM  Show Profile  Reply with Quote
i have your email, and having applied your settings to the IDE i get the same effect. i don't know why this should be the case though. thank you for the settings file, this would have been very hard to reproduce without it.

for a quick fix you may want to back up your VA settings (via the export button) and then reset the IDE to its default settings. hopefully this will fix this effect, but it will leave you with having to reconfigure your IDE afterwards.

this worked for me, but i did have to load the IDE tools -> options -> fonts and colours page, which i then quit without making any changes, before VA's enhanced colouring returned.

case=978

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Feb 01 2006 :  5:09:40 PM  Show Profile  Reply with Quote
my reply to your email just got returned to me. i did not bother digging through the email header for a potentially valid reply address since i have replied here.

zen is the art of being at one with the two'ness
Go to Top of Page

Sasa
Tomato Guru

272 Posts

Posted - Feb 01 2006 :  9:50:22 PM  Show Profile  Reply with Quote
Thanks for your reply feline. I wonder too the cause of that behavior.

C++
Visual Studio 2008 Pro
Windows 7 x64
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