IDEA-99897 When "block caret" mode is on, after deleting a character at the end of a line, the character deleted appears in inverse
(cherry picked from commit 636ac6d4bf0068430d44e2ada78e864eca517526)