private void commandExplorer_CommandGenerated(string commandSyntax, CommandProcessingMode processingMode) { programEditor.AddCommand(commandSyntax); programEditor.Focus(); if (processingMode == CommandProcessingMode.Save_And_Execute) { this.EpiInterpreter.Context.SetOneCommandMode(); this.EpiInterpreter.Context.ResetWhileSelected(); try { RunCommand(commandSyntax); } catch (Exception ex) { } } }