void () { initText(""" some<caret> text<caret> some <selection><caret>other</selection> <selection>text<caret></selection> <selection>ano<caret>ther</selection> line"""); type('A'); checkResultByText(""" someA<caret> textA<caret> some A<caret> A<caret> A<caret> line"""); }