}
return null;
}
protected static void executeCommand(final Project project, String command) {
final ClojureConsoleProcessHandler processHandler = findRunningClojureConsole(project);
LOG.assertTrue(processHandler != null);
// implement a command
final LanguageConsoleImpl languageConsole = processHandler.getLanguageConsole();
languageConsole.setInputText(command);
final Editor editor = languageConsole.getCurrentEditor();
final CaretModel caretModel = editor.getCaretModel();
caretModel.moveToOffset(command.length());