DXCore Services – Outline
March 16th, 2011
The Outline DXCore service provides access to the editor outlining, allowing you to collapse, expand, and toggle outlining.
Here are its methods:
Name | Description |
CollapseSelection | Collapses the current selection if automatic outlining is turned off. Call ExpandCurrent() to restore the collapsed region. |
CollapseToDefinitions | Collapses all outlines to their definitions. |
ExpandCurrent | Expands the collapsed region at the cursor. |
StartAutomatic | Starts automatic outlining. |
Stop | Stops all outlining (expanding all collapsed text). |
Toggle | Toggles the expansion on the outline at the cursor. |
ToggleAll | Expands collapsed outlines, or collapses top-level outlines (if nothing is collapsed). |