Class BslHighlightingReconciler

  • All Implemented Interfaces:
    org.eclipse.jface.text.ITextInputListener, org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor, org.eclipse.xtext.ui.editor.model.IXtextModelListener, org.eclipse.xtext.ui.editor.model.IXtextModelListenerExtension, org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor

    public class BslHighlightingReconciler
    extends org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler
    Special HighlightingReconciler.
    The main feature of this reconcile - it doesn't call if document wasn't change
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor

        org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor.DeprecationHelper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void beforeRefresh​(org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)  
      void install​(org.eclipse.xtext.ui.editor.XtextEditor editor, org.eclipse.xtext.ui.editor.XtextSourceViewer sourceViewer, org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter presenter)  
      void modelChanged​(org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)  
      • Methods inherited from class org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler

        addPosition, checkCanceled, getCalculator, inputDocumentAboutToBeChanged, inputDocumentChanged, modelChanged, refresh, setCalculator, uninstall
    • Constructor Detail

      • BslHighlightingReconciler

        public BslHighlightingReconciler()
    • Method Detail

      • install

        public void install​(org.eclipse.xtext.ui.editor.XtextEditor editor,
                            org.eclipse.xtext.ui.editor.XtextSourceViewer sourceViewer,
                            org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter presenter)
        Overrides:
        install in class org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler
      • modelChanged

        public void modelChanged​(org.eclipse.xtext.resource.XtextResource resource,
                                 org.eclipse.xtext.util.CancelIndicator cancelIndicator)
        Specified by:
        modelChanged in interface org.eclipse.xtext.ui.editor.model.IXtextModelListenerExtension
        Overrides:
        modelChanged in class org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler
      • beforeRefresh

        protected void beforeRefresh​(org.eclipse.xtext.resource.XtextResource resource,
                                     org.eclipse.xtext.util.CancelIndicator cancelIndicator)
        Overrides:
        beforeRefresh in class org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler