void () { init("\n\n"); mouse().clickAt(1, 1); verifyCaretsAndSelections(1, 1, 1, 1); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_RIGHT_WITH_SELECTION); verifyCaretsAndSelections(1, 2, 1, 2); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN_WITH_SELECTION); verifyCaretsAndSelections(1, 2, 1, 2, 2, 2, 1, 2); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_LEFT_WITH_SELECTION); verifyCaretsAndSelections(1, 1, 1, 1, 2, 1, 1, 1); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_LEFT_WITH_SELECTION); verifyCaretsAndSelections(1, 0, 0, 1, 2, 0, 0, 1); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_UP_WITH_SELECTION); verifyCaretsAndSelections(1, 0, 0, 1); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_UP_WITH_SELECTION); verifyCaretsAndSelections(0, 0, 0, 1, 1, 0, 0, 1); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_RIGHT_WITH_SELECTION); verifyCaretsAndSelections(0, 1, 1, 1, 1, 1, 1, 1); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_RIGHT_WITH_SELECTION); verifyCaretsAndSelections(0, 2, 1, 2, 1, 2, 1, 2); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN_WITH_SELECTION); verifyCaretsAndSelections(1, 2, 1, 2); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_LEFT_WITH_SELECTION); verifyCaretsAndSelections(1, 1, 1, 1); }