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