Tutorialforward-subphrase-with-optionals




Prev | Up | Next | Back | Forward | Online Documentation Home Page
  Keys Menu
X Shift+Control+M or Control+F8 or Shift+Alt+Right Arrow Structure/Forward/Subphrase with Optionals
MS Control+F8 or Alt+Shift+F8 or Alt+Shift+Right Arrow Structure/Forward/Subphrase with Optionals


This command is also known as forward-with-optionals. Suppose invocation of forward-subphrase-with-optionals does not initiate a successful parse (e.g., because auto-parse mode is off, or the current selection is not a text buffer, or the text buffer has not been modified since the last attempt to parse it, or parsing fails). Then forward-subphrase-with-optionals changes the structural selection to the next resting place in a forward preorder traversal of the abstract-syntax tree starting from the current structural selection, stopping at placeholders for optional constituents.

If invocation of forward-subphrase-with-optionals initiates a successful parse, then advance-after-parse is invoked to advance the structural selection.

The command is parser-initiating.


Forward