op.fullExpand

Syntax op.fullExpand ()

Params None required

Action Expands the outline to show all subheads at all levels.

Returns True unless the outline was fully expanded before the command was issued, in which case it returns false.

Examples In examples.Sample Outline 2, position the cursor anywhere you like and execute:
op.fullCollapse ()


   » true

Now type and execute:
op.fullExpand ()


   » true

Note that this expands all of the subheads in the outline.

Errors An attempt to execute op.fullExpand on an outline that is already completely expanded returns false but it is not an error.

Notes When an op.fullExpand has executed, the cursor is in the same position it was in before the expansion occurred.

You will notice that the display does not update in steps as you have sometimes seen with multiple-step outline rearrangement. This is because the Frontier script that carries out op.fullExpand uses op.getDisplay and op.setDisplay to "freeze" the screen

while all of the reorganization takes place.

See Also op.fullCollapse

op.collapse

op.expand

Discuss