void () { init(""" line1 li<caret>ne2 line3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_RIGHT_WITH_SELECTION); checkResultByText(""" line1 li<selection>n<caret></selection>e2 line3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN_WITH_SELECTION); checkResultByText(""" line1 li<selection>n<caret></selection>e2 li<selection>n<caret></selection>e3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_LEFT_WITH_SELECTION); checkResultByText(""" line1 li<caret>ne2 li<caret>ne3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_LEFT_WITH_SELECTION); checkResultByText(""" line1 l<selection><caret>i</selection>ne2 l<selection><caret>i</selection>ne3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_UP_WITH_SELECTION); checkResultByText(""" line1 l<selection><caret>i</selection>ne2 line3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_UP_WITH_SELECTION); checkResultByText(""" l<selection><caret>i</selection>ne1 l<selection><caret>i</selection>ne2 line3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_RIGHT_WITH_SELECTION); checkResultByText(""" li<caret>ne1 li<caret>ne2 line3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_RIGHT_WITH_SELECTION); checkResultByText(""" li<selection>n<caret></selection>e1 li<selection>n<caret></selection>e2 line3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN_WITH_SELECTION); checkResultByText(""" line1 li<selection>n<caret></selection>e2 line3"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_LEFT_WITH_SELECTION); checkResultByText(""" line1 li<caret>ne2 line3"""); }