void () { init(""" ab<caret>c abc abc"""); initFind(); setTextToFind("abc"); checkResultByText(""" abc <selection>abc<caret></selection> abc"""); closeFind(); initFind(); setTextToFind("abc"); checkResultByText(""" abc <selection>abc<caret></selection> abc"""); }