boolean moveCursorAfter)
{
// allow console a chance to execute code if we aren't focused
if (consoleExecuteWhenNotFocused && !docDisplay_.isFocused())
{
events_.fireEvent(new ConsoleExecutePendingInputEvent());
return;
}
Range selectionRange = docDisplay_.getSelectionRange();