Changeset 465


Ignore:
Timestamp:
Jul 7, 2010 5:54:15 PM (14 years ago)
Author:
Anya Helene Bagge
Message:
  • Turn off model listeners (might make things faster)
  • Report TODOs as TODO markers
Location:
trunk/magnolia-eclipse
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/magnolia-eclipse/plugin.xml

    r459 r465  
    258258      </referenceResolver>
    259259   </extension>
     260   <!--
    260261   <extension
    261262         point="org.eclipse.imp.runtime.editorService">
     
    272273      </editorService>
    273274   </extension>
    274    <extension
    275          point="org.eclipse.imp.runtime.editorService">
    276       <editorService
    277             class="org.magnolialang.eclipse.editor.AmbiguityMarkerModelListener"
    278             language="MetaXa">
    279       </editorService>
    280    </extension>
     275   -->
    281276   <extension
    282277         point="org.eclipse.ui.preferencePages">
  • trunk/magnolia-eclipse/src/org/magnolialang/magnolia/StaticChecker.java

    r459 r465  
    8080                                        if (value.getType().isNodeType() && ((INode) value).getName().equals("todo")) {
    8181                                                ISourceLocation loc = TreeAdapter.getLocation(tree);
    82                                                 manager.reportError("TODO: " + ((IString) ((INode) value).get(0)).getValue(), loc, ErrorMarkers.COMPILATION_ERROR, IMarker.SEVERITY_INFO);
     82                                                manager.reportError("TODO: " + ((IString) ((INode) value).get(0)).getValue(), loc, IMarker.TASK, IMarker.SEVERITY_INFO);
    8383                                        }
    8484                                        else if (value.getType().isNodeType() && ((INode) value).getName().equals("deprecated")) {
Note: See TracChangeset for help on using the changeset viewer.