Package processing.plugin.ui.editor.language

Examples of processing.plugin.ui.editor.language.ProcessingAutoIndentStrategy


  /* Method declared on SourceViewerConfiguration */
  public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return new ProcessingAnnotationHover(); }
   
  /* @see org.eclipse.jface.text.source.SourceViewerConfiguration#getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer, java.lang.String) */
  public IAutoEditStrategy[] getAutoEditStrategies(ISourceViewer sourceViewer, String contentType) {
    IAutoEditStrategy strategy= (IDocument.DEFAULT_CONTENT_TYPE.equals(contentType) ? new ProcessingAutoIndentStrategy() : new DefaultIndentLineAutoEditStrategy());
    return new IAutoEditStrategy[] { strategy };
  }
View Full Code Here

TOP

Related Classes of processing.plugin.ui.editor.language.ProcessingAutoIndentStrategy

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.