Package com.gstaykov.pscoder.editor.syntax

Examples of com.gstaykov.pscoder.editor.syntax.PowershellCodeScanner


  public IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer) {
    PresentationReconciler reconciler = new PresentationReconciler();
    reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));
   
    DefaultDamagerRepairer dr = new DefaultDamagerRepairer(new PowershellCodeScanner(new PowershellColors())); // TODO: make only one copy
    reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
    reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
   
    return reconciler;
  }
View Full Code Here

TOP

Related Classes of com.gstaykov.pscoder.editor.syntax.PowershellCodeScanner

Copyright © 2018 www.massapicom. 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.