Implemented interface member:
1 write to SubjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (1)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (1)
58
SubjectBuffer
= subjectBuffer;
23 references to SubjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (23)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (23)
61
ClosingPoint =
SubjectBuffer
.CurrentSnapshot.CreateTrackingPoint(openingPoint.Position, PointTrackingMode.Positive);
84
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
102
OpeningPoint =
SubjectBuffer
.CurrentSnapshot.CreateTrackingPoint(openingSnapshotPoint, PointTrackingMode.Positive);
104
var document =
SubjectBuffer
.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
127
ClosingPoint =
SubjectBuffer
.CurrentSnapshot.CreateTrackingPoint(ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot), PointTrackingMode.Negative);
131
var indentationOptions =
SubjectBuffer
.GetIndentationOptions(_editorOptionsService, contextAfterStart.Document.LanguageServices, explicitFormat: false);
149
var snapshot =
SubjectBuffer
.CurrentSnapshot;
155
using var edit =
SubjectBuffer
.CreateEdit();
194
var snapshot = this.
SubjectBuffer
.CurrentSnapshot;
222
using var edit =
SubjectBuffer
.CreateEdit();
280
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
289
var indentationOptions =
SubjectBuffer
.GetIndentationOptions(_editorOptionsService, context.Document.LanguageServices, explicitFormat: false);
335
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
380
var closingSnapshotPoint = ClosingPoint.GetPoint(
SubjectBuffer
.CurrentSnapshot);
396
var document =
SubjectBuffer
.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
410
var snapshot =
SubjectBuffer
.CurrentSnapshot;
423
using var edit =
SubjectBuffer
.CreateEdit();
433
Contract.ThrowIfFalse(
SubjectBuffer
.CurrentSnapshot[OpeningPoint.GetPosition(
SubjectBuffer
.CurrentSnapshot)] == OpeningBrace,
435
Contract.ThrowIfFalse(
SubjectBuffer
.CurrentSnapshot[ClosingPoint.GetPosition(
SubjectBuffer
.CurrentSnapshot) - 1] == ClosingBrace,
443
var caretLine =
SubjectBuffer
.CurrentSnapshot.GetLineFromLineNumber(result.CaretLocation.Line);