24. deleteWord
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 24. deleteWord

Parameter syntax:

    [ 'backwards' ]?

Deletes the word following the caret in a textual node (text, comment, processing-instruction). If the `backwards` option is used, this command deletes the word preceding the caret.

Note that this command also deletes the whitespace after or before the word if needed to. That is, it will attempt not to leave superfluous whitespace between words.

Prev | Up | Next
23. deleteSelectionOrJoinBlockOrDeleteChar | Home | 25. diffSupport