There\'s something really annoying in Visual Studio : when I expand or collapse a method or code region, this action is pushed on the undo stack. So if I edit some code in a met
The best solution I can propose is to disable outlining using CTRL+M, then CTRL+P.