Returns the node at the current caret position as a clip.
A clip of the node at the caret position, or null if there is no node at the caret position.
Returns a clip containing the entire contents of one of the fields of the node at this position. If the field number is negative, the field is counted backward from the last field. Hence, childField(-1)
would return the contents of the last child field.
The field number to clip children from.
A clip of the field content, or null.
Returns a clip of a group of nodes from one of the fields of the node at this position.
The field number to clip children from.
The index of the first child node to include.
The index after the last child node to include.
A clip of the specified children, or null if the subset is empty.
Returns a clip of the entire contents of the current field, that is, the field that includes the current position.
A clip of the contents of the field, or null if the field is empty.
Returns a new clip of the specified identifier. See WalkerInsertionMethods.identifier for more information.
The identifier name.
The data type of the identifier (default is scalar).
A clip of the specified identifier.
Returns a clip of the contents of the specified document line, counting from 0. If the line number is negative, the line is counted from the end of the document, similar to WalkerMovementMethods.line.
The line number to clip, or a negative line number to count from the end.
The content of the line as a clip, or null if the line is empty.
Returns a copy of the node at the current position as a clip. All of the node's children are included.
A clip of the current node, or null if there is no current node.
Returns a new clip of the specified number. See WalkerInsertionMethods.number for more information.
The number to insert.
A clip of the specified number.
Returns a new clip of the specified editor object. See WalkerInsertionMethods.object for more information.
The name of the object's editor command.
A clip of the specified math object.
Returns a new clip of the specified editor object. See WalkerInsertionMethods.object for more information.
The name of the object's editor command.
A clip of the specified math object.
Returns the current editor selection as a clip.
A clip of the selection, or null if there is no selection.
Returns a new clip of the specified style. See WalkerInsertionMethods.style for more information.
The color to apply to styled content.
A clip of the specified style.
Returns a new clip of the specified text. See WalkerInsertionMethods.text for more information.
The text content to insert.
A clip of the specified text.
Returns a new clip of the specified variable. See WalkerInsertionMethods.variable for more information.
The variable name, which must be exactly one letter.
The data type of the variable (default is scalar).
The accent to place on the variable (default is none).
A clip of the specified variable.
This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.
Methods used to create or capture clips of document content from a Walker.