Examples of resetMarkers()


Examples of com.intellij.util.ui.RangeBlinker.resetMarkers()

    Editor editor = usageInfo.openTextEditor(true);
    if (editor == null) return;
    TextAttributes attributes = EditorColorsManager.getInstance().getGlobalScheme().getAttributes(CodeInsightColors.BLINKING_HIGHLIGHTS_ATTRIBUTES);

    RangeBlinker rangeBlinker = new RangeBlinker(editor, attributes, 6);
    rangeBlinker.resetMarkers(usageInfo.getRangeMarkers());
    rangeBlinker.startBlinking();
  }
}
View Full Code Here

Examples of org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.resetMarkers()

    super.doResetDocument(element, monitor);

    IAnnotationModel model= getAnnotationModel(element);
    if (model instanceof AbstractMarkerAnnotationModel) {
      AbstractMarkerAnnotationModel markerModel= (AbstractMarkerAnnotationModel) model;
      markerModel.resetMarkers();
    }
  }

  /**
   * Refreshes the given file resource.
View Full Code Here

Examples of org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.resetMarkers()

        protected void execute(IProgressMonitor monitor) throws CoreException {
          info.fTextFileBuffer.revert(monitor);

          if (info.fModel instanceof AbstractMarkerAnnotationModel) {
            AbstractMarkerAnnotationModel markerModel= (AbstractMarkerAnnotationModel) info.fModel;
            markerModel.resetMarkers();
          }
        }
        /*
         * @see org.eclipse.ui.editors.text.TextFileDocumentProvider.DocumentProviderOperation#getSchedulingRule()
         */
 
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.