if (cleared_)
return false;
boolean canContinue = false;
ConsoleAction action = actions.get(i);
switch (action.getType())
{
case ConsoleAction.INPUT:
canContinue = output(action.getData() + "\n",
styles_.command() + " " + KEYWORD_CLASS_NAME,
true);
break;
case ConsoleAction.OUTPUT:
canContinue = output(action.getData(),
styles_.output(),
true);
break;
case ConsoleAction.ERROR:
canContinue = output(action.getData(),
styles_.error(),
true);
break;
case ConsoleAction.PROMPT:
canContinue = output(action.getData(),
styles_.prompt() + " " + KEYWORD_CLASS_NAME,
true);
break;
}
if (!canContinue)