void (@NotNull LeafBlockWrapper block) { if (myModifiedBlocksNumber++ >= myBlocksToModifyNumber) { return; } update(FormattingStateId.APPLYING_CHANGES, MAX_PROGRESS_VALUE * myModifiedBlocksNumber / myBlocksToModifyNumber); }