Ignore:
Timestamp:
08/25/08 15:19:25 (16 years ago)
Author:
ra33
Message:

Fixed some bugs...
AbstractCharts can not be copied, resized, etc

File:
1 edited

Legend:

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

    r275 r278  
    2828import org.expeditee.items.Item;
    2929import org.expeditee.items.ItemUtils;
     30import org.expeditee.items.Text;
    3031
    3132/**
     
    304305                // separate method name and parameter names
    305306                String mname = getName(command);
    306                 if (command.length() > mname.length())
    307                         command = command.substring(mname.length() + 1);
    308                 else
    309                         command = "";
     307                command = command.substring(mname.length()).trim();
     308                //If no params are provided get them from a text item on the cursor
     309                if(command.length() == 0 && launcher instanceof Text){
     310                        command = launcher.getText();
     311                }
    310312
    311313                // Strip off the @ from annotation items
Note: See TracChangeset for help on using the changeset viewer.