Examples of IStructuredDocumentRegion


Examples of org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion

   * @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
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.