sel = textArea.selectedText; if(sel == null) view.toolkit.beep(); else FactorPlugin.eval(view,sel); buffer.save(view,null); VFSManager.waitForRequests(); FactorPlugin.eval(view, "\"" + FactorReader.charsToEscapes(buffer.path) + "\" run-file"); word = FactorPlugin.getWordAtCaret(textArea); if(word == null) view.toolkit.beep(); else { FactorPlugin.eval(view, "\"" + FactorReader.charsToEscapes(word) + "\" apropos."); } FactorPlugin.factorWordOperation(view,"see"); FactorPlugin.factorWordOperation(view,"jedit"); new EditWordDialog(view,FactorPlugin .getSideKickParser()); FactorPlugin.factorWordOperation(view,"usages."); word = FactorPlugin.getWordAtCaret(textArea); if(word == null) view.toolkit.beep(); else FactorPlugin.insertUseDialog(view,word);