Class BslHighlightingReconciler
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler
-
- com._1c.g5.v8.dt.bsl.ui.syntaxcoloring.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
SpecialHighlightingReconciler
.
The main feature of this reconcile - it doesn't call if document wasn't change
-
-
Constructor Summary
Constructors Constructor Description BslHighlightingReconciler()
-
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)
-
-
-
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 classorg.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 interfaceorg.eclipse.xtext.ui.editor.model.IXtextModelListenerExtension
- Overrides:
modelChanged
in classorg.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 classorg.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler
-
-