Perform a command and include interactive feedback such as sound and haptic feedback. This is useful to simulate user interaction, for example for commands from the virtual keyboard
How much of the formula should be spoken:
all |
the entire formula |
selection |
the selection portion of the formula |
left |
the element to the left of the selection |
right |
the element to the right of the selection |
group |
the group (numerator, root, etc..) the selection is in |
parent |
the parent of the selection |
In addition to speaking the requested portion of the formula, visually highlight it as it is read (read aloud functionality)
To perform editing commands on a mathfield, use [[MathfieldElement.executeCommand]] with the commands below.
Commands return true if they resulted in a dirty state.
Command
executeCommand