void () { init("abc\nabc\n<caret>abc\nabc\nabc"); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_PAGE_DOWN_WITH_SELECTION); checkResultByText("abc\nabc\n<caret>abc\n<caret>abc\n<caret>abc"); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_UP_WITH_SELECTION); checkResultByText("abc\nabc\n<caret>abc\n<caret>abc\nabc"); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_PAGE_UP_WITH_SELECTION); checkResultByText("<caret>abc\n<caret>abc\n<caret>abc\nabc\nabc"); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN_WITH_SELECTION); checkResultByText("abc\n<caret>abc\n<caret>abc\nabc\nabc"); }