Nikolay Rastegaev wrote:
> 
> I have a request of the XMLmind XML Editor feature:
> 
> I think, that will very comfortably to "collapse" and "expand" topics,
> sections and other collapsable units of the document.
> Maybe simply implement 2 commands: "Collapse all" and "Expand all"
> 

This command already exists. It's called "toggleCollapsed". See
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/toggleCollapsed.html

Recommended bindings (found in the add-on called "A sample
customize.xxe" - please download and install it using "Options|Install
Add-ons"):

---
  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="/" />
    <command name="toggleCollapsed" />
  </binding>

  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="+" />
    <command name="toggleCollapsed" parameter="expandAll" />
  </binding>

  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="-" />
    <command name="toggleCollapsed" parameter="collapseAll" />
  </binding>

  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="1" />
    <command name="toggleCollapsed" parameter="collapseAll+expand" />
  </binding>
---



 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to