void () { initText("a<caret>bc"); addInlay(2); delete(); checkResultByText("ac"); checkCaretPosition(1, 1, 1); delete(); checkResultByText("ac"); checkCaretPosition(1, 1, 2); delete(); checkResultByText("a"); checkCaretPosition(1, 1, 2); }