1 write to SelectedSpan
Microsoft.CodeAnalysis.EditorFeatures (1)
CommentSelection\AbstractToggleBlockCommentBase.cs (1)
291SelectedSpan = TextSpan.FromBounds(selectedSnapshotSpan.Start, selectedSnapshotSpan.End);
16 references to SelectedSpan
Microsoft.CodeAnalysis.EditorFeatures (16)
CommentSelection\AbstractToggleBlockCommentBase.cs (16)
135if (blockCommentSelection.SelectedSpan.IsEmpty 172var spanToAdd = blockCommentSelection.SelectedSpan; 218var selectedSpan = blockCommentSelection.SelectedSpan; 292IntersectingBlockComments = GetIntersectingBlockComments(allBlockComments, SelectedSpan); 361var selectedLine = snapshot.GetLineFromPosition(SelectedSpan.Start); 362var lineStartToCaretIsWhitespace = IsSpanWhitespace(TextSpan.FromBounds(selectedLine.Start, SelectedSpan.Start)); 363var caretToLineEndIsWhitespace = IsSpanWhitespace(TextSpan.FromBounds(SelectedSpan.Start, selectedLine.End)); 367&& SelectedSpan.Start < blockComment.Start 368&& snapshot.AreOnSameLine(SelectedSpan.Start, blockComment.Start)) 370if (IsSpanWhitespace(TextSpan.FromBounds(SelectedSpan.Start, blockComment.Start))) 377&& SelectedSpan.Start > blockComment.End 378&& snapshot.AreOnSameLine(SelectedSpan.Start, blockComment.End)) 380if (IsSpanWhitespace(TextSpan.FromBounds(blockComment.End, SelectedSpan.Start))) 407var spanStart = SelectedSpan.Start; 425if (spanStart < SelectedSpan.End) 427var uncommentedSpan = TextSpan.FromBounds(spanStart, SelectedSpan.End);