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