Changeset 3378 for devel-tools/trunk
- Timestamp:
- Feb 6, 2008, 10:41:24 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel-tools/trunk/eclipse/org.refal.plus.rfpdt.editor/src/org/refal/plus/rfpdt/editor/RfpTextHover.java
r3377 r3378 4 4 import org.eclipse.jface.text.IRegion; 5 5 import org.eclipse.jface.text.ITextViewer; 6 import org.eclipse.jface.text.source.Annotation; 6 7 import org.eclipse.jface.text.source.ISourceViewer; 8 import org.eclipse.ui.texteditor.MarkerAnnotation; 7 9 import org.refal.plus.rfpdt.comp.ast.AstImplem; 8 10 import org.refal.plus.rfpdt.comp.ast.AstNode; … … 18 20 19 21 public String getHoverInfo (ITextViewer textViewer, IRegion hoverRegion) { 22 String res = super.getHoverInfo(textViewer, hoverRegion); 23 if (res != null) 24 return res; 20 25 if (editor.rfpReconcilingStrategy == null) 21 26 return null; … … 28 33 return ((IHoverInfo) astNode).getHoverInfo(); 29 34 } 35 36 protected boolean isIncluded (Annotation annotation) { 37 if (annotation instanceof MarkerAnnotation) 38 return true; 39 return false; 40 } 30 41 }
Note: See TracChangeset
for help on using the changeset viewer.