Erase any character preceding the caret, or the next one.
If true, removes character after the caret, otherwise removes the one before.
See Implementation
Erase any character preceding the caret, or the next one.