Changeset 4054
- Timestamp:
- Jan 10, 2009, 1:24:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/editor/RfpEditor.java
r4053 r4054 41 41 import org.refal.rfpdt.ast.AstImplem; 42 42 import org.refal.rfpdt.ast.AstNode; 43 import org.refal.rfpdt.ast.AstVar;44 43 import org.refal.rfpdt.core.RfpCore; 45 44 import org.refal.rfpdt.core.RfpProject; … … 122 121 if (!astImplem.pos.rfpResource.equals(astNode.pos.rfpResource)) 123 122 continue; 124 String annot = "org.eclipse.jdt.ui.occurrences"; 125 if (astNode instanceof AstVar && ((AstVar) astNode).varDefinition == astNode) 126 annot = "org.eclipse.jdt.ui.occurrences.write"; 127 Annotation annotation = new Annotation(annot, false, astNode.toString()); 123 // if (astNode instanceof AstVar && ((AstVar) astNode).varDefinition == astNode) 124 // annot = "org.eclipse.jdt.ui.occurrences.write"; 125 Annotation annotation = new Annotation("org.eclipse.jdt.ui.occurrences", false, astNode.toString()); 128 126 annotations.add(annotation); 129 127 annotationModel.addAnnotation(annotation, new Position(astNode.pos.charStart, astNode.pos.charEnd
Note: See TracChangeset
for help on using the changeset viewer.