1 write to _session
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
63
_session
= session;
21 references to _session
Microsoft.CodeAnalysis.EditorFeatures (21)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (21)
77
_isBufferReadOnly = new DynamicReadOnlyRegionQuery(isEdit => !
_session
._isApplyingEdit);
99
_session
._threadingContext.ThrowIfNotOnUIThread();
100
if (!removeOnly &&
_session
.ReplacementText == string.Empty)
149
_session
.Cancel();
171
_session
._threadingContext.ThrowIfNotOnUIThread();
182
_session
.UndoManager.UndoTemporaryEdits(_subjectBuffer, disconnect: false);
188
var renameableSpan =
_session
.RenameInfo.GetReferenceEditSpan(
220
_session
._threadingContext.ThrowIfNotOnUIThread();
223
if (args.EditTag == s_propagateSpansEditTag ||
_session
._isApplyingEdit)
252
_session
.UndoManager.OnTextChanged(this.ActiveTextView.Selection, singleTrackingSpanTouched);
273
_session
._threadingContext.ThrowIfNotOnUIThread();
281
_session
.UndoManager.ApplyCurrentState(
289
_session
.UndoManager.UpdateSelection(this.ActiveTextView, _subjectBuffer, _referenceSpanToLinkedRenameSpanMap[_activeSpan.Value].TrackingSpan);
295
_session
._threadingContext.ThrowIfNotOnUIThread();
311
_session
.UndoManager.UndoTemporaryEdits(_subjectBuffer, disconnect: true);
317
_session
._threadingContext.ThrowIfNotOnUIThread();
328
_session
.UndoManager.UndoTemporaryEdits(_subjectBuffer, disconnect: false);
339
_session
.UndoManager.CreateConflictResolutionUndoTransaction(_subjectBuffer, () =>
475
var linkedRenameSpan =
_session
.RenameInfo.GetConflictEditSpan(
477
GetWithoutAttributeSuffix(
_session
.ReplacementText,
589
_session
._threadingContext.ThrowIfNotOnUIThread();