In Visual Studio 2008, when I print code with "hide collapsed region", the print result would include the region header name.
For example, if the code looks like this:
using ...
namespace Foo
{
#region MyRegion1...
#region MyRegion2...
public void SomeAction{}
}
In Visual Studio 2008 print, it looks like:
using ...
namespace Foo
{
MyRegion1
MyRegion2
public void SomeAction()
}
However, in Visual Studio 2010, it looks like:
using ...
namespace Foo
{
public void SomeAction()
}
Notice that the region name is not printing, but it leaves an empty space. Is this a bug in VS 2010, or it is redesigned to hide the entire region with just a blank space. I can't find any option to change this behavior.