Changeset 278 for trunk/src/org/expeditee/actions/Actions.java
- Timestamp:
- 08/25/08 15:19:25 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Actions.java
r275 r278 28 28 import org.expeditee.items.Item; 29 29 import org.expeditee.items.ItemUtils; 30 import org.expeditee.items.Text; 30 31 31 32 /** … … 304 305 // separate method name and parameter names 305 306 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 } 310 312 311 313 // Strip off the @ from annotation items
Note:
See TracChangeset
for help on using the changeset viewer.