A. Clarke wrote: > > Is there a function to collapse all collapsible sections?
Yes, command "toggleCollapsed". See http://www.xmlmind.com/xmleditor/_distrib/doc/command/toggleCollapsed.html > I have a > document composed of hundreds of collapsible sections, and I think a > user is likely to want to collapse all the sections before doing > anything else! The add-on called "A sample customize.xxe" contains a number of useful bindings for command "toggleCollapsed". More info: http://www.xmlmind.com/xmleditor/addons_doc.html#sample_customize_xxe . If you want to give it a try, please select it in the dialog box displayed by menu item "Options | Install Add-ons". Personally, I often use "Esc 1" just after I open a reference manual. --- <binding> <keyPressed code="ESCAPE" /> <charTyped char="1" /> <command name="toggleCollapsed" parameter="collapseAll+expand" /> </binding> --- Means: recursively collapse everything then expand just the topmost element (i.e. the root of the document). This gives me a nice outline of the reference manual > I have tried to create a macro to achieve this but > without success. > -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

