Changeset 533


Ignore:
Timestamp:
09/14/07 11:45:11 (17 years ago)
Author:
adrpo
Message:
  • more checking
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.ui/src/org/modelica/mdt/ui/text/ModelicaCodeResolver.java

    r491 r533  
    339339            /* try some other way */
    340340            IModelicaElement me = editor.getEditorInputModelicaElement();
    341             file = me.getSourceFile();
     341            if (me != null)
     342            {
     343                file = me.getSourceFile();
     344            }
     345            else
     346            {
     347                file = null;
     348            }
    342349        }
    343350        else
Note: See TracChangeset for help on using the changeset viewer.