Delete character before cursor (backspace).
Current document lines
Cursor position
Edit result with updated lines and cursor
Delete character before cursor (backspace).