void (LogicalPosition @NotNull [] positions, @NotNull List<? extends Editor> editors) { for (int i = 0; i < editors.size(); i++) { Editor editor = editors.get(i); if (editor != null) editor.getCaretModel().moveToLogicalPosition(positions[i]); } }