1 write to SelectedSpan
Microsoft.CodeAnalysis.EditorFeatures (1)
CommentSelection\AbstractToggleBlockCommentBase.cs (1)
293SelectedSpan = TextSpan.FromBounds(selectedSnapshotSpan.Start, selectedSnapshotSpan.End);
16 references to SelectedSpan
Microsoft.CodeAnalysis.EditorFeatures (16)
CommentSelection\AbstractToggleBlockCommentBase.cs (16)
137if (blockCommentSelection.SelectedSpan.IsEmpty 174var spanToAdd = blockCommentSelection.SelectedSpan; 220var selectedSpan = blockCommentSelection.SelectedSpan; 294IntersectingBlockComments = GetIntersectingBlockComments(allBlockComments, SelectedSpan); 363var selectedLine = snapshot.GetLineFromPosition(SelectedSpan.Start); 364var lineStartToCaretIsWhitespace = IsSpanWhitespace(TextSpan.FromBounds(selectedLine.Start, SelectedSpan.Start)); 365var caretToLineEndIsWhitespace = IsSpanWhitespace(TextSpan.FromBounds(SelectedSpan.Start, selectedLine.End)); 369&& SelectedSpan.Start < blockComment.Start 370&& snapshot.AreOnSameLine(SelectedSpan.Start, blockComment.Start)) 372if (IsSpanWhitespace(TextSpan.FromBounds(SelectedSpan.Start, blockComment.Start))) 379&& SelectedSpan.Start > blockComment.End 380&& snapshot.AreOnSameLine(SelectedSpan.Start, blockComment.End)) 382if (IsSpanWhitespace(TextSpan.FromBounds(blockComment.End, SelectedSpan.Start))) 409var spanStart = SelectedSpan.Start; 427if (spanStart < SelectedSpan.End) 429var uncommentedSpan = TextSpan.FromBounds(spanStart, SelectedSpan.End);