T O P I C R E V I E W |
Sasa |
Posted - Jan 28 2006 : 9:07:22 PM 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. |
10 L A T E S T R E P L I E S (Newest First) |
Sasa |
Posted - Feb 01 2006 : 9:50:22 PM Thanks for your reply feline. I wonder too the cause of that behavior. |
feline |
Posted - Feb 01 2006 : 5:09:40 PM 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. |
feline |
Posted - Feb 01 2006 : 5:08:19 PM 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 |
Sasa |
Posted - Jan 31 2006 : 9:05:53 PM I re-installed VAX 1440, and I am having the same coloring problem. |
Sasa |
Posted - Jan 31 2006 : 9:00:08 PM Feline, did you receive my email? |
Sasa |
Posted - Jan 30 2006 : 5:12:30 PM 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. |
feline |
Posted - Jan 30 2006 : 3:39:55 PM plan b, if you email me via the forum i will reply. the email i sent just got bounced. |
feline |
Posted - Jan 30 2006 : 3:24:57 PM 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 |
Sasa |
Posted - Jan 29 2006 : 8:54:30 PM 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. |
feline |
Posted - Jan 29 2006 : 2:11:30 PM 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. |