EditorsVisiblePositions (@NotNull List<? extends Editor> editors) { LogicalPosition[] carets = doGetCaretPositions(editors); Point[] points = doGetScrollingPositions(editors); return new EditorsVisiblePositions(carets, points); }