public SendToScriptingConsoleCommand(IScriptingWorkbench workbench) { this.workbench = workbench; textEditorView = new ScriptingTextEditorViewContent(workbench); activeTextEditor = textEditorView.TextEditor; }
public IViewContent[] CreateSecondaryViewContent(IViewContent viewContent) { ScriptingTextEditorViewContent textEditorView = new ScriptingTextEditorViewContent(viewContent); return CreateSecondaryViewContent(viewContent, textEditorView.TextEditorOptions); }
protected void Run(IScriptingWorkbench workbench) { view = new ScriptingTextEditorViewContent(workbench); string code = GenerateRubyCode(); ShowRubyCodeInNewWindow(code); }