protected void Run(IScriptingWorkbench workbench) { view = new ScriptingTextEditorViewContent(workbench); string code = GeneratePythonCode(); ShowPythonCodeInNewWindow(code); }
public IViewContent[] CreateSecondaryViewContent(IViewContent viewContent) { ScriptingTextEditorViewContent textEditorView = new ScriptingTextEditorViewContent(viewContent); return(CreateSecondaryViewContent(viewContent, textEditorView.TextEditorOptions)); }