title: Detecting outlining sections within EnvDTE.Document
body: <p>I've written an extension to comb through code files line by line to detect certain patterns. The problem I'm seeing is that lines within collapsed sections are skipped when using <code>TextSelection.LineDown()</code> or similar. 
  I'm aware that <code>TextSelection.OutlineSection()</code> exists to create such sections, but is there a way to detect, and possibly expand or collapse them?</p>