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
 VA X 1237: Another colouring/displaying problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - May 19 2004 :  07:22:16 AM  Show Profile
Hello all,

Try the following code example:
const bool a = true && true && true,
           b = true && true,
           c = true && true && true;
Variable b will be coloured gray, while variable c is printed italic. It is an effect I've seen for several builds.

Change the first line, so the code becomes:
const bool a = (true && true && true),
           b = true && true,
           c = true && true && true;
Variable b is coloured gray now (as it should), while variable c is still printed italic.

Now change the code to the following:
const bool a = (true && true && true),
           b = (true && true),
           c = (true && true && true);

Place your cursor on another piece of text (I don't know if it's required, but that's the way I did it). Switch to another full-screen application. And turn back after a while. Big chance that variable c isn't italic anymore.

Could the team of Whole Tomato please take a look at this? Thank you in advance.

With kind regards,
Patrick Luja

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 19 2004 :  08:08:32 AM  Show Profile
using VS .NET 2003 and VAX 1235 i created a new empty unsaved C++ file in my current project, and simply pasted this into it. so this isnt inside any function.

i am getting:
const bool a = true && true && true,
           b = true && true,
           c = true && true && true;

here a is Brown (i checked the colour with a colour picker) and bold. in my VAX settings Brown is Methods.

b and c are both Grey, and neither of them is bold. in my VAX settings Grey is assigned to variables.

if i change the code to:
const bool a = (true && true && true),
           b = true && true,
           c = true && true && true;

then my Grey b becomes bold.

now going to:
const bool a = (true && true && true),
           b = (true && true),
           c = (true && true && true);

then my Grey c becomes bold.

in VAX i have both "local symbols in bold" and "stable symbols in italic" turned on. i am not seeing anything become italic at any point. the total lack of context may have something to do with this.

ps can you tell i am board with what i am supposed to be doing?

zen is the art of being at one with the two'ness

Edited by - feline on May 19 2004 08:10:37 AM
Go to Top of Page

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - May 24 2004 :  05:08:53 AM  Show Profile
Hello feline,

I've the option "Local symbols in bold" turned off (I don't like it that local symbols from other methods are displayed in bold in other methods in the same file), while "Stable symbols in Italic" are turned on.

I've created the example within a function in a code file (the function was declared inside the header file).
But, as you prove, also outside the function it's reacting strangely.

Thanks for pointing this out, feline.

I hope the team of WT can take a quick look at this, though it isn't real dramatic.

With kind regards,
Patrick Luja
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