void (boolean sequentially) { myStateProcessor.setNextState(new AdjustWhiteSpacesState(myWrapState, myProgressCallback, myReformatContext)); myStateProcessor.setNextState(new ExpandChildrenIndentState(myDocument, myWrapState)); if (sequentially) { return; } doIterationsSynchronously(); }