Is this something similar to what you wanted:
<<
Similar, I suppose, but not *it*. Toggle All Outlining toggles between (a)
collapsing the entire class definition to a single entry, and (b) opening
the class definition back up, leaving individual regions collapsed or
expanded as they were before the toggle.
Most of the time I have only a single class in a given class module, so what
I want is to collapse only the regions I have defined with #Region
statements. That is, I want an "Expand All Regions" and "Collapse All
Regions".
To illustrate, I want to be able to go, with a single key combination, from
this:
[Display State 1]
Public Class Foo
#Region " One "
...blah blah
#End Region
#Region " Two "
...blah blah
#End Region
#Region " Three "
...blah blah
#End Region
End Class
or this:
[Display State 2]
Public Class Foo
#Region " One "
...blah blah
#End Region
#Region " Two " ...
#Region " Three "
...blah blah
#End Region
End Class
to this:
[Display State 3]
Public Class Foo
#Region " One " ...
#Region " Two " ...
#Region " Three " ...
End Class
Maybe the real solution is to support outlining levels (as in Word). But I'd
settle for the above.
Greg Dunn
Tim Wilson said:
Is this something similar to what you wanted:
"Toggle All Outlining" = Ctrl + M, Ctrl + L (hold down control then hit "m"
then hit "l")
--
Tim Wilson
.Net Compact Framework MVP
{cf147fdf-893d-4a88-b258-22f68a3dbc6a}
missing
it?