* @param domRegion
* @param parentConstraints
* @param formatRange
*/
private void formatSiblings(TextEdit edit, DOMRegion domRegion, XMLFormattingConstraints parentConstraints, Position formatRange) {
IStructuredDocumentRegion previousRegion = null;
IStructuredDocumentRegion currentRegion = domRegion.documentRegion;
IDOMNode currentDOMNode = domRegion.domNode;
while (currentDOMNode != null && currentRegion != null && formatRange.overlapsWith(currentRegion.getStartOffset(), currentRegion.getLength()) && (fProgressMonitor == null || !fProgressMonitor.isCanceled())) {
domRegion.documentRegion = currentRegion;
domRegion.domNode = currentDOMNode;
// need to make sure current document region and current
// dom node match up