diff --git a/doc/html/expand.html b/doc/html/expand.html index 54024cf2..dff560a4 100644 --- a/doc/html/expand.html +++ b/doc/html/expand.html @@ -26,7 +26,8 @@ expanded/unexpanded cells in the current selection.

Usage:

- expand [toggle]

+ expand [selection|surround|overlap|all] + [toggle]

Shortcuts:

@@ -38,14 +39,32 @@ expanded/unexpanded cells in the current selection.

Summary:

The expand command expands the view of subcells to - display the contents of the subcells. Without arguments, - the expand command expands all unexpanded subcells that - touch or intersect the cursor box in the layout window.

+ display the contents of the subcells. + + Option overlap expands all unexpanded subcells that + overlap with the cursor box in the layout window.

+ + Option surround expands all unexpanded subcells that + are completely surrounded by the cursor box in the layout window.

+ + Option all expands all subcells in the layout window.

+ + Option selection operates on the current selection, not + relative to the cursor box, expanding all selected cells.

+ + Option toggle will expand a selected cell that is + unexpanded, or unexpand a cell that is already expanded. + toggle may be given as an additional option to any + of the other options above; however, the toggle option + must be the last option given to the command.

+ + With no arguments, the expand command behaves like + expand overlap, and the expand toggle command + with no additonal arguments behaves like + expand selection toggle, for backwards-compatible + behavior with earlier versions of magic which offered only + the toggle option. - Option expand toggle operates on the current selection, - not relative to the cursor box, and will expand a selected - cell that is unexpanded, or unexpand a cell that is already - expanded.

Implementation Notes:

diff --git a/doc/html/unexpand.html b/doc/html/unexpand.html index a111a817..2c4218b2 100644 --- a/doc/html/unexpand.html +++ b/doc/html/unexpand.html @@ -25,7 +25,8 @@ Unexpand everything inside or touching the cursor box.

Usage:

- unexpand

+ unexpand [selection|surround|overlap|all] +

Shortcuts:

@@ -37,8 +38,23 @@ Unexpand everything inside or touching the cursor box.
The unexpand command unexpands the view of subcells to hide the contents of the subcells and show the bounding box - outline only. The unexpand command unexpands all subcells - that touch or intersect the cursor box in the layout window.

+ outline only. + + Option overlap unexpands all expanded subcells that + overlap with the cursor box in the layout window.

+ + Option surround unexpands all expanded subcells that + are completely surrounded by the cursor box in the layout window.

+ + Option all unexpands all subcells in the layout window.

+ + Option selection operates on the current selection, not + relative to the cursor box, unexpanding all selected cells.

+ + With no arguments, the unexpand command behaves like + unexpand surround, for backwards-compatible behavior with + earlier versions of magic which did not offer the options. +

Implementation Notes: