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); }
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); }
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; }
public OutliningTaggerProvider(IPythonRuntimeHost host) { _host = host; }
public CompletionSourceProvider(IPythonRuntimeHost host) { _host = host; }