Changeset 4054 for devel-tools/trunk


Ignore:
Timestamp:
Jan 10, 2009, 1:24:16 AM (12 years ago)
Author:
yura
Message:
  • Remove occurrence.write highlighting (in orange color like in Eclipse 3.4) - Refal does not needed it and for compatibility.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/editor/RfpEditor.java

    r4053 r4054  
    4141import org.refal.rfpdt.ast.AstImplem;
    4242import org.refal.rfpdt.ast.AstNode;
    43 import org.refal.rfpdt.ast.AstVar;
    4443import org.refal.rfpdt.core.RfpCore;
    4544import org.refal.rfpdt.core.RfpProject;
     
    122121                    if (!astImplem.pos.rfpResource.equals(astNode.pos.rfpResource))
    123122                        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());
    128126                    annotations.add(annotation);
    129127                    annotationModel.addAnnotation(annotation, new Position(astNode.pos.charStart, astNode.pos.charEnd
Note: See TracChangeset for help on using the changeset viewer.