void () { initText("ab<caret>c"); addInlay(1); addInlay(1); backspace(); checkResultByText("ac"); checkCaretPosition(1, 1, 3); backspace(); checkResultByText("ac"); checkCaretPosition(1, 1, 2); backspace(); checkResultByText("ac"); checkCaretPosition(1, 1, 1); backspace(); checkResultByText("c"); checkCaretPosition(0, 0, 0); }