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
 VAX 1532: folding breaks bracket highlightning
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Aug 14 2006 :  11:32:25 PM  Show Profile  Reply with Quote
when you fold a section any closing bracket after the folded section is not more highlighted, only the opening one.

sample:
if(1)
{
if(2) // fold this section
{
}
} // this bracket will not highlight when the previous if is folded

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Aug 15 2006 :  7:33:12 PM  Show Profile  Reply with Quote
i was able to reproduce this in the end with C# and


if(1)
{
#region
    if(2) // fold this section
    {
    }
#endregion
} // this bracket will not highlight when the previous if is folded


i could not produce the fold on demand any other way.

case=2094

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

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Aug 15 2006 :  7:56:40 PM  Show Profile  Reply with Quote
Using VS2003 and C++ here. Not sure though when VS starts to allow folding of if's etc. Doesnt do it always.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Aug 15 2006 :  9:54:40 PM  Show Profile  Reply with Quote
You can always force a fold with Ctrl-M, Ctrl-H. Highlight the section first.

Joe Pizzi
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Aug 16 2006 :  6:53:13 PM  Show Profile  Reply with Quote
i did not know that jpizzi.

Uniwares i scanned up and down a chunk of C++ code but did not see any options to collapse just an inner if block. most odd.

zen is the art of being at one with the two'ness
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