void () { init("aaa aaa<caret>\n" + "bbbb bbbb"); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN_WITH_SELECTION); moveCaretToPreviousWordWithSelection(); checkResultByText("aaa <selection><caret>aaa</selection>\n" + "bbbb <selection><caret>bb</selection>bb"); moveCaretToNextWordWithSelection(); checkResultByText("aaa aaa<caret>\n" + "bbbb bb<selection>bb<caret></selection>"); }