void () { init(""" some <selection>t<caret>ex</selection>t some texts another text here"""); executeAction(); checkResult(""" some <selection>t<caret>ex</selection>t some <selection>t<caret>ex</selection>ts another text here"""); executeAction(); checkResult(""" some <selection>t<caret>ex</selection>t some <selection>t<caret>ex</selection>ts another <selection>t<caret>ex</selection>t here"""); assertEquals(0, hintCount); }