2 instantiations of RazorEditorOptionsTracker
Microsoft.VisualStudio.LanguageServices.Razor (2)
RazorLSPTextViewConnectionListener.cs (2)
140var optionsTracker = new RazorEditorOptionsTracker(TrackedView: textView, viewOptions, bufferOptions); 193var newOptionsTracker = new RazorEditorOptionsTracker(
12 references to RazorEditorOptionsTracker
Microsoft.VisualStudio.LanguageServices.Razor (12)
RazorLSPTextViewConnectionListener.cs (12)
123if (!textView.TextBuffer.Properties.ContainsProperty(typeof(RazorEditorOptionsTracker))) 140var optionsTracker = new RazorEditorOptionsTracker(TrackedView: textView, viewOptions, bufferOptions); 141_textBuffer.Properties[typeof(RazorEditorOptionsTracker)] = optionsTracker; 178typeof(RazorEditorOptionsTracker), out RazorEditorOptionsTracker optionsTracker) && 181_textBuffer.Properties.RemoveProperty(typeof(RazorEditorOptionsTracker)); 193var newOptionsTracker = new RazorEditorOptionsTracker( 195_textBuffer.Properties[typeof(RazorEditorOptionsTracker)] = newOptionsTracker; 207if (!_textBuffer.Properties.TryGetProperty(typeof(RazorEditorOptionsTracker), out RazorEditorOptionsTracker optionsTracker)) 222private static void InitializeRazorTextViewOptions(IVsTextManager4 textManager, RazorEditorOptionsTracker optionsTracker) 265private static (ClientSpaceSettings, ClientCompletionSettings) UpdateRazorEditorOptions(IVsTextManager4 textManager, RazorEditorOptionsTracker optionsTracker)