Examples of reconcile()


Examples of org.eclipse.jface.text.reconciler.IReconcilingStrategy.reconcile()

          validatorStrategy.reconcile(fLastPartitions[i], createDirtyRegion(fLastPartitions[i], DirtyRegion.REMOVE));
        }
      }
      IReconcilingStrategy spellingStrategy = getSpellcheckStrategy();
      if (spellingStrategy != null) {
        spellingStrategy.reconcile(new Region(0, document.getLength()));
      }
     
      //if there is a folding strategy then reconcile it
      if(getFoldingStrategy() != null) {
        getFoldingStrategy().reconcile(new Region(0, document.getLength()));
View Full Code Here

Examples of org.eclipse.jface.text.reconciler.IReconcilingStrategy.reconcile()

     */
    ITypedRegion[] partitions = computePartitioning(dirtyRegion);
    for (int i = 0; i < partitions.length; i++) {
      IReconcilingStrategy strategy = getReconcilingStrategy(partitions[i].getType());
      if (strategy != null) {
        strategy.reconcile(partitions[i]);
      }
    }
  }

  /**
 
View Full Code Here

Examples of org.eclipse.jface.text.reconciler.IReconcilingStrategy.reconcile()

       */
      if (fLastPartitions != null && document.getLength() == 0) {
        for (int i = 0; i < fLastPartitions.length; i++) {
          IReconcilingStrategy strategy = getReconcilingStrategy(fLastPartitions[i].getType());
          if (strategy != null) {
            strategy.reconcile(fLastPartitions[i]);
          }
        }
      }
      else {
        DirtyRegion entireDocument = createDirtyRegion(0, document.getLength(), DirtyRegion.INSERT);
View Full Code Here

Examples of org.eclipse.jface.text.reconciler.IReconcilingStrategy.reconcile()

    }
    /* single spell-check for everything to ensure that SpellingProblem offsets are correct */
    IReconcilingStrategy spellingStrategy = getSpellcheckStrategy();
    IDocument document = getDocument();
    if (spellingStrategy != null && document != null) {
       spellingStrategy.reconcile(new Region(0, document.getLength()));
    }
   
    IReconcilingStrategy semanticHighlightingStrategy = getSemanticHighlightingStrategy();
    if (semanticHighlightingStrategy != null && document != null) {
      semanticHighlightingStrategy.reconcile(new Region(0, document.getLength()));
View Full Code Here

Examples of org.eclipse.jface.text.reconciler.IReconcilingStrategy.reconcile()

       spellingStrategy.reconcile(new Region(0, document.getLength()));
    }
   
    IReconcilingStrategy semanticHighlightingStrategy = getSemanticHighlightingStrategy();
    if (semanticHighlightingStrategy != null && document != null) {
      semanticHighlightingStrategy.reconcile(new Region(0, document.getLength()));
    }

    if ((getTextViewer() instanceof ISourceViewer)) {
      ISourceViewer sourceViewer = (ISourceViewer) getTextViewer();
      IAnnotationModel annotationModel = sourceViewer.getAnnotationModel();
View Full Code Here

Examples of org.eclipse.jface.text.reconciler.IReconcilingStrategy.reconcile()

          validatorStrategy.reconcile(fLastPartitions[i], createDirtyRegion(fLastPartitions[i], DirtyRegion.REMOVE));
        }
      }
      IReconcilingStrategy spellingStrategy = getSpellcheckStrategy();
      if (spellingStrategy != null) {
        spellingStrategy.reconcile(new Region(0, document.getLength()));
      }
     
      //if there is a folding strategy then reconcile it
      if(getFoldingStrategy() != null) {
        getFoldingStrategy().reconcile(new Region(0, document.getLength()));
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile()

       * Process the strategies for the last known-good partitions.
       */
      for (int i = 0; i < fLastPartitions.length; i++) {
        ValidatorStrategy validatorStrategy = getValidatorStrategy();
        if (validatorStrategy != null) {
          validatorStrategy.reconcile(fLastPartitions[i], createDirtyRegion(fLastPartitions[i], DirtyRegion.REMOVE));
        }
      }
      IReconcilingStrategy spellingStrategy = getSpellcheckStrategy();
      if (spellingStrategy != null) {
        spellingStrategy.reconcile(new Region(0, document.getLength()));
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile()

       * Process the strategies for the last known-good partitions.
       */
      for (int i = 0; i < fLastPartitions.length; i++) {
        ValidatorStrategy validatorStrategy = getValidatorStrategy();
        if (validatorStrategy != null) {
          validatorStrategy.reconcile(fLastPartitions[i], createDirtyRegion(fLastPartitions[i], DirtyRegion.REMOVE));
        }
      }
      IReconcilingStrategy spellingStrategy = getSpellcheckStrategy();
      if (spellingStrategy != null) {
        spellingStrategy.reconcile(new Region(0, document.getLength()));
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.