private void DebugWindow_OnLoaded(object sender, RoutedEventArgs e)
        {
            new DisplayItemClassificationTypeProvider().RegisterAll();
            AmbientParseRequestDispatcherProvider.Dispatcher = new ThreadedParseRequestDispatcher();
            var language = new PythonSyntaxLanguage(PythonVersion.Version3);
            language.RegisterService(new PythonCompletionProvider());
            language.RegisterService(new PythonParameterInfoProvider());
            language.RegisterService(new PythonQuickInfoProvider());
            language.RegisterService(new PythonNavigableSymbolProvider());
            language.RegisterService(new IndicatorQuickInfoProvider());
            language.RegisterService(new DebuggingMouseInputEventSink());
            syntaxEditor.Document.Language = language;
            syntaxEditor.Document.TabSize = 4;
            syntaxEditor.Document.AutoConvertTabsToSpaces = true;
            syntaxEditor.Document.LoadFile("GetThings.py", Encoding.UTF8);

            _debugWindowReady.Set();
        }
 private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
 {
     new DisplayItemClassificationTypeProvider().RegisterAll();
         AmbientParseRequestDispatcherProvider.Dispatcher = new ThreadedParseRequestDispatcher();
         //var appDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
         //@"Evget\PythonTest01\Package Repository");
         //AmbientPackageRepositoryProvider.Repository = new FileBasedPackageRepository(appDataPath);
         var language = new PythonSyntaxLanguage(PythonVersion.Version3);
         language.RegisterService(new PythonCompletionProvider());
         language.RegisterService(new PythonParameterInfoProvider());
         language.RegisterService(new PythonQuickInfoProvider());
         language.RegisterService(new PythonNavigableSymbolProvider());
         language.RegisterService(new IndicatorQuickInfoProvider());
         language.RegisterService(new DebuggingMouseInputEventSink());
         syntaxEditor.Document.Language = language;
         syntaxEditor.Document.TabSize = 4;
         syntaxEditor.Document.AutoConvertTabsToSpaces = true;
         syntaxEditor.Document.LoadFile("GetThings.py", Encoding.UTF8);
 }