op.deleteSubs
| Syntax |
op.deleteSubs ()
|
| Params |
None required
|
| Action |
Deletes all of the subheads under the heading on which the bar cursor is positioned, leaving the bar cursor heading unchanged.
|
| Returns |
True.
|
| Examples |
In examples.Sample Outline 2, position the bar cursor on the heading labeled "Subhead 1.1.1" and then execute: op.deleteSubs ()
Notice that the indented lines under this subhead - labeled "Subhead 1.1.1.1" and "Subhead 1.1.1.1.1" - disappear and the outline re-displays with those lines missing. This operation cannot be undone, so use the "Revert" option in the File menu to reverse
Nothing happens because the selected line has no subheads. |
| See Also |
op.deleteLine
|