Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 struct coloring in 1557 (C style)

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
dodudo7 Posted - Jun 11 2007 : 12:15:15 PM
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.

4   L A T E S T    R E P L I E S    (Newest First)
dodudo7 Posted - Jun 12 2007 : 1:24:00 PM
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!
feline Posted - Jun 12 2007 : 08:14:24 AM
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.
dodudo7 Posted - Jun 11 2007 : 2:43:59 PM
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.

feline Posted - Jun 11 2007 : 2:26:04 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000