41. insertTextOrMoveDot
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 41. insertTextOrMoveDot

Parameter syntax:

    [ 'after' | 'before' ]?

When parameter `after` is specified or when no parameter is specified, this command is similar to "`insertNode textAfter[implicitElement]`".

When parameter `before` is specified, this command is similar to "`insertNode textBefore[implicitElement]`".

The only difference with command `insertNode` is that when a new text cannot be inserted because there is already a text node after or before selected element, the `insertTextOrMoveDot` moves the caret to the existing text node.

Prev | Up | Next
40. insertString | Home | 42. join