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
 Highlight matching incorrect symbols
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

GregDude
Senior Member

31 Posts

Posted - Sep 06 2010 :  02:20:01 AM  Show Profile  Reply with Quote
Highlight matching is intended to show what delimited block the cursor currently resides in. In the following code snip, I think the wrong symbols are highlighted.


  int a,b,c,d,e;
  if(    a < e
      || b < e        // Highlights '<' '>' symbols instead of outer if() brackets
      || c >= (e + 1) // Ok if inside these brackets
      || d >= e
    )
    {
      
    }

When the cursor is inside that 'if' statement, the '<' and '>' symbols are often highlighted (as if they were template syntax perhaps?) instead of the outer '()' for the 'if'.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 06 2010 :  2:58:43 PM  Show Profile  Reply with Quote
Yes, angle brackets are are highlighted because it can be useful when writing complex template code.
Are they often bug you?
Go to Top of Page

GregDude
Senior Member

31 Posts

Posted - Sep 06 2010 :  8:41:16 PM  Show Profile  Reply with Quote
This is a minor issue to me. I'd prefer the brackets highlighted as they have real meaning. If VAX can, at low CPU cost, make a better judgment, then that is preferred. A work around might be to check for unexpected symbols within template syntax for C++ files, such as || or && between < and >. The situation occurs rarely and highlighting is just an attempt at improving code comprehension.

So, it is a minor bug, to improve if possible.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 07 2010 :  04:07:00 AM  Show Profile  Reply with Quote
I have put in a bug report to see what the developers make of it:

case=49648
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