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