void () { initText(""" word <caret>word word """); getEditor().getCaretModel().addCaret(new VisualPosition(0, 0)); getEditor().getCaretModel().addCaret(new VisualPosition(1, 5)); assertEquals(new VisualPosition(1, 5), getEditor().getCaretModel().getPrimaryCaret().getVisualPosition()); down(); checkResultByText(""" word <caret>word word <caret>"""); assertEquals(new VisualPosition(2, 0), getEditor().getCaretModel().getPrimaryCaret().getVisualPosition()); }