+8

Hoisting the outline

Sten Linnarsson hace 11 años 0

It would be great to be able to hoist the outline in the editor. For example, double-clicking on an outline marker (those little arrows in the margin) would "zoom in" so that the editor now only contains that section. A bread crumb control at the top (or bottom) would indicate where in the outline you are.


Example: editing a large HTML document, I want to make changes to a particular section under <body><div id="main">. I hoist it, so that the editor now contains only the <div id="main"> and its contents up to the closing </div>. Pressing escape goes up one level in the outline.


Hoisting is sort of the opposite of folding. Instead of hiding a section, it hides everything outside the section. It would work equally well for HTML, XML and code.