void (@NotNull List<? extends ArrangementEntryWrapper<E>> toArrange, @NotNull Context<E> context) { ArrangementEntryWrapper<E> parent = toArrange.get(0).getParent(); if (parent == null) { myParentText = context.document.getText(); myParentShift = 0; } else { myParentText = context.document.getCharsSequence().subSequence(parent.getStartOffset(), parent.getEndOffset()).toString(); myParentShift = parent.getStartOffset(); } }