示例#1
0
 public PythonConsolePad()
 {
     textEditorControl = new TextEditorControl();
     textEditorControl.CreateControl();
     textEditor = new TextEditor(textEditorControl);
     host       = new PythonConsoleHost(textEditor);
     host.Run();
 }
		public void DisposingPythonConsoleHostWithoutCreatingPythonConsole()
		{
			PythonConsoleHost host = new PythonConsoleHost(new FakeConsoleTextEditor(), new FakeControlDispatcher());
			host.Dispose();
		}