TextInput.chop

Erase any character preceding the caret, or the next one.

class TextInput
void
chop
(
bool forward = false
)

Parameters

forward bool

If true, removes character after the caret, otherwise removes the one before.

Meta