public IronPythonRepl() { InitializeComponent(); textEditorControl.CreateControl(); textEditorControl.ShowLineNumbers = false; textEditorControl.ShowVRuler = false; textEditorControl.ShowHRuler = false; //Our ICSharpCode.TextEditor has been modified to include the Python syntax file //allowing us to do this textEditorControl.SetHighlighting("Python"); //NOXLATE this.Title = this.Description = Strings.Title_IronPython_Console; this.Disposed += OnDisposed; textEditor = TextEditorFactory.CreateEditor(textEditorControl); if (PropertyService.Get(ScriptingConfigProperties.ShowIronPythonConsole, ScriptingConfigProperties.DefaultShowIronPythonConsole)) { Console.WriteLine("Run python host"); host = new PythonConsoleHost(textEditor); host.Run(); } }