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
 Feature Requests
 Light-red highlighting needed for G?pass by ref"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

davenovak
New Member

USA
7 Posts

Posted - Jan 22 2010 :  1:40:34 PM  Show Profile  Reply with Quote
I love the VAX highlighting of selected variable and how light-blue indicates read-only references and light-red indicates where its value may be changed. That said, VAX does not use light-red where the symbol is passed either by reference or by address/pointer to another method. I would think that such references should be highlighted in light-red since the method being called may update the value of the symbol.

Please note, however, that passing by read-only reference (where what is being referenced is const), the highlighting should remain light-blue.

Edited by - davenovak on Jan 22 2010 1:42:32 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 25 2010 :  1:49:14 PM  Show Profile  Reply with Quote
We are considering doing this at some point:

case=9955
Go to Top of Page

davenovak
New Member

USA
7 Posts

Posted - Feb 26 2010 :  11:59:14 AM  Show Profile  Reply with Quote
I just noticed today that local data declarations using constructor-style syntax also are showing up with light-blue highlighting. For example, using this code fragment:
ScriptHandle id(m_EntityId);
pScript->SetGlobalValue( ENTITY_ALIAS, id );
if I were to select id, both locations would show up with light-blue highlighting. In reality, of course, the first instance (where the data is defined and initialized) should use light-red highlighting.

Bottom line: be sure that constructor calls for local variables get light-red highlighting.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Mar 04 2010 :  09:42:40 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=4154

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

support
Whole Tomato Software

5566 Posts

Posted - Aug 04 2010 :  5:45:26 PM  Show Profile  Reply with Quote
case=4154 is fixed in build 1829

Whole Tomato Software, Inc.
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