15 references to GetSnapshotSpansOnBuffer
Microsoft.CodeAnalysis.EditorFeatures (15)
CommentSelection\AbstractCommentSelectionBase.cs (1)
94var 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)
45var spans = args.TextView.Selection.GetSnapshotSpansOnBuffer(textBuffer);
ExtractMethod\ExtractMethodCommandHandler.cs (2)
69var spans = args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer); 99var spans = view.Selection.GetSnapshotSpansOnBuffer(textBuffer).Where(s => s.Length > 0).ToList();
FindReferences\FindReferencesCommandHandler.cs (1)
71var snapshotSpans = args.TextView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
Formatting\FormatCommandHandler.FormatSelection.cs (1)
47var selection = args.TextView.Selection.GetSnapshotSpansOnBuffer(buffer);
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
86args.TextView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer).FirstOrNull()?.Start ??
InlineRename\AbstractInlineRenameUndoManager.cs (1)
104var selectionSpan = selection.GetSnapshotSpansOnBuffer(snapshot.TextBuffer).Single();
InlineRename\CommandHandlers\AbstractRenameCommandHandler.cs (1)
67var selectedSpans = args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_RenameHandler.cs (1)
111var selectedSpans = args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_WordDeleteHandler.cs (1)
54var selectedSpans = view.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);
Interactive\SendToInteractiveSubmissionProvider.cs (1)
39: args.TextView.Selection.GetSnapshotSpansOnBuffer(args.SubjectBuffer).Where(ss => ss.Length > 0);
SplitComment\SplitCommentCommandHandler.cs (1)
54var spans = textView.Selection.GetSnapshotSpansOnBuffer(subjectBuffer);