21. deleteSelectionOrDeleteChar
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 21. deleteSelectionOrDeleteChar

Parameter syntax:

    [ 'backwards' ]?

If there is an explicit node selection, invokes command delete without any parameter, otherwise invokes command deleteChar, passing it its own parameter if any.

This command is intended to be bound to keys Del and BackSpace.

Prev | Up | Next
20. deleteChar | Home | 22. deleteSelectionOrJoinOrDeleteChar