Ignore:
Timestamp:
07/25/08 10:04:49 (16 years ago)
Author:
ra33
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/Misc.java

    r156 r160  
    9090                if (current instanceof Text) {
    9191                        List<String> actions = ((Text) current).getTextList();
    92 
    9392                        for (String action : actions) {
    94                                 Actions.PerformAction(DisplayIO.getCurrentFrame(), current,
    95                                                 action);
     93                                if (!action.equalsIgnoreCase("runcurrentitem")) {
     94                                        Actions.PerformAction(DisplayIO.getCurrentFrame(), current,
     95                                                        action);
     96                                }
    9697                        }
    9798                } else {
     
    666667                        Observer observer = new Observer() {
    667668                                private String _attribute = "";
     669
    668670                                public void update(Observable ob, Object o) {
    669                                         _attribute = ((Variable)o).getName() + ": ";
     671                                        _attribute = ((Variable) o).getName() + ": ";
    670672                                }
    671                                
     673
    672674                                @Override
    673675                                public String toString() {
     
    684686                                }
    685687                        }
    686                        
     688
    687689                        myParser.getSymbolTable().addObserver(observer);
    688690                        myParser.setAllowAssignment(true);
    689691                        myParser.setAllowUndeclared(true);
    690                        
     692
    691693                        // Do the calculation
    692694                        Node node = myParser.parseExpression(text.getText());
Note: See TracChangeset for help on using the changeset viewer.