1 write to SelectedSpan
Microsoft.CodeAnalysis.EditorFeatures (1)
CommentSelection\AbstractToggleBlockCommentBase.cs (1)
296SelectedSpan = TextSpan.FromBounds(selectedSnapshotSpan.Start, selectedSnapshotSpan.End);
16 references to SelectedSpan
Microsoft.CodeAnalysis.EditorFeatures (16)
CommentSelection\AbstractToggleBlockCommentBase.cs (16)
140if (blockCommentSelection.SelectedSpan.IsEmpty 177var spanToAdd = blockCommentSelection.SelectedSpan; 223var selectedSpan = blockCommentSelection.SelectedSpan; 297IntersectingBlockComments = GetIntersectingBlockComments(allBlockComments, SelectedSpan); 366var selectedLine = snapshot.GetLineFromPosition(SelectedSpan.Start); 367var lineStartToCaretIsWhitespace = IsSpanWhitespace(TextSpan.FromBounds(selectedLine.Start, SelectedSpan.Start)); 368var caretToLineEndIsWhitespace = IsSpanWhitespace(TextSpan.FromBounds(SelectedSpan.Start, selectedLine.End)); 372&& SelectedSpan.Start < blockComment.Start 373&& snapshot.AreOnSameLine(SelectedSpan.Start, blockComment.Start)) 375if (IsSpanWhitespace(TextSpan.FromBounds(SelectedSpan.Start, blockComment.Start))) 382&& SelectedSpan.Start > blockComment.End 383&& snapshot.AreOnSameLine(SelectedSpan.Start, blockComment.End)) 385if (IsSpanWhitespace(TextSpan.FromBounds(blockComment.End, SelectedSpan.Start))) 412var spanStart = SelectedSpan.Start; 430if (spanStart < SelectedSpan.End) 432var uncommentedSpan = TextSpan.FromBounds(spanStart, SelectedSpan.End);