24 references to GetSnapshotSpansOnBuffer
Microsoft.CodeAnalysis.CSharp.EditorFeatures (5)
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
36var spans = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
RawStringLiteral\RawStringLiteralCommandHandler_TypeChar.cs (1)
39var spans = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
64var spans = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
99var selectionsBeforePaste = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
StringCopyPaste\StringCopyPasteCommandHandler_CutCopy.cs (1)
73var spans = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
Microsoft.CodeAnalysis.EditorFeatures (16)
CommentSelection\AbstractCommentSelectionBase.cs (1)
97var selectedSpans = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (2)
99var snapshots = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer).OrderByDescending(s => s.Span.Start); 159.GetSnapshotSpansOnBuffer(args.SubjectBuffer)
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (1)
56var spans = args.TextView.Selection.GetSnapshotSpansOnBuffer(textBuffer);
ExtractMethod\ExtractMethodCommandHandler.cs (2)
76var spans = args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer); 106var spans = view.Selection.GetSnapshotSpansOnBuffer(textBuffer).Where(s => s.Length > 0).ToList();
FindReferences\FindReferencesCommandHandler.cs (1)
70var snapshotSpans = args.TextView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
Formatting\FormatCommandHandler.FormatSelection.cs (1)
48var selection = args.TextView.Selection.GetSnapshotSpansOnBuffer(buffer);
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
94args.TextView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer).FirstOrNull()?.Start ??
InlineRename\AbstractInlineRenameUndoManager.cs (1)
105var selectionSpan = selection.GetSnapshotSpansOnBuffer(snapshot.TextBuffer).Single();
InlineRename\CommandHandlers\AbstractRenameCommandHandler.cs (1)
68var selectedSpans = args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_RenameHandler.cs (1)
106var selectedSpans = args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_WordDeleteHandler.cs (1)
46var selectedSpans = view.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
InlineRename\InlineRenameSession.cs (1)
249var selections = _triggerView.Selection.GetSnapshotSpansOnBuffer(triggerSpan.Snapshot.TextBuffer);
Interactive\SendToInteractiveSubmissionProvider.cs (1)
41: args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer).Where(ss => ss.Length > 0);
SplitComment\SplitCommentCommandHandler.cs (1)
66var spans = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
NavigationCommandHandlers\AbstractNavigationCommandHandler.cs (1)
40var snapshotSpans = args.TextView.Selection?.GetSnapshotSpansOnBuffer(args.SubjectBuffer);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (1)
752null, service, textView.TextBuffer, textView.Selection.GetSnapshotSpansOnBuffer(textView.TextBuffer), operation, CancellationToken.None);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\CommitCommandHandler.vb (1)
99Dim selections = args.TextView.Selection.GetSnapshotSpansOnBuffer(buffer)