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
 struct coloring in 1557 (C style)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dodudo7
Ketchup Master

Israel
55 Posts

Posted - Jun 11 2007 :  12:15:15 PM  Show Profile  Reply with Quote
Please note in the attached image, the definition of local struct variables is colored as if it was a type (blue instead of bold gray).
Also, when using the structs, they are now colored as members (gray) instead of local (bold gray).

Originally I observed this behaviour with winsock structs, but later I found that this happens with any struct.

This issue is only appearing in C style code. Dropping the struct keyword (C++) fixes the coloring.


Edited by - dodudo7 on Jun 11 2007 12:19:28 PM

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jun 11 2007 :  2:26:04 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=6567

Are you able to remove the "struct" keyword as you work on the code, or are you compiling the code as C? Obviously removing the keyword would "fix" the problem, until we fix VAX.

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

dodudo7
Ketchup Master

Israel
55 Posts

Posted - Jun 11 2007 :  2:43:59 PM  Show Profile  Reply with Quote
Most of my code is C++, so removing the struct keyword is possible, although I usually prefer not touching old legacy code when this is not a must.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jun 12 2007 :  08:14:24 AM  Show Profile  Reply with Quote
That makes a lot of sense. Unfortunately I don't know of any work around for this that you can use without editing the code.

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

dodudo7
Ketchup Master

Israel
55 Posts

Posted - Jun 12 2007 :  1:24:00 PM  Show Profile  Reply with Quote
That's OK. If you are now aware of this issue, it will probably be fixed in one of the future builds and that's good enough.

p.s. Build 1557 looks like a really successful build. A am using it for about 10 day and besides this relatively minor coloring issue, this version works like a charm.
Good job, guys!
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