Ejemplo n.º 1
0
 public OutliningTagger(ITextBuffer buffer, IPythonRuntimeHost host)
 {
     _buffer = buffer;
     _buffer.Properties[typeof(OutliningTagger)] = this;
     _enabled = host.EnterOutliningModeOnOpen;
     _timer   = new Timer(TagUpdate, null, Timeout.Infinite, Timeout.Infinite);
 }
Ejemplo n.º 2
0
        public PythonAnalyzer(IPythonRuntimeHost runtimeHost, IErrorProviderFactory errorProvider)
        {
            _engine           = runtimeHost.ScriptEngine;
            _squiggleProvider = errorProvider;

            _queue         = new ParseQueue(this);
            _analysisQueue = new AnalysisQueue <IProjectEntry>(this);
            _analysisState = new ProjectState(_engine);
            _projectFiles  = new Dictionary <string, IProjectEntry>(StringComparer.OrdinalIgnoreCase);
        }
Ejemplo n.º 3
0
 public CompletionSource(CompletionSourceProvider provider, ITextBuffer textBuffer, IPythonRuntimeHost host)
 {
     _textBuffer = textBuffer;
     _provider   = provider;
     _host       = host;
 }
 public PythonClassifierProvider(IPythonRuntimeHost host)
     : this(host.ContentType, host.ScriptEngine)
 {
     Instance = this;
 }
Ejemplo n.º 5
0
 public CompletionSource(CompletionSourceProvider provider, ITextBuffer textBuffer, IPythonRuntimeHost host)
 {
     _textBuffer = textBuffer;
     _provider = provider;
     _host = host;
 }
Ejemplo n.º 6
0
 public PythonClassifierProvider(IPythonRuntimeHost host)
     : this(host.ContentType, host.ScriptEngine)
 {
     Instance = this;
 }
Ejemplo n.º 7
0
 public OutliningTaggerProvider(IPythonRuntimeHost host)
 {
     _host = host;
 }
Ejemplo n.º 8
0
 public CompletionSourceProvider(IPythonRuntimeHost host)
 {
     _host = host;
 }
Ejemplo n.º 9
0
 public CompletionSourceProvider(IPythonRuntimeHost host)
 {
     _host = host;
 }