1 write to _filterText
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
83
_filterText
= applicableToSpan.GetText(_snapshotData.Snapshot);
22 references to _filterText
Microsoft.CodeAnalysis.EditorFeatures (22)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (22)
61
=> _snapshotData.DisplaySuggestionItem &&
_filterText
.Length > 0;
107
_highlightMatchingPortions =
_filterText
.Length > 0
136
var threadLocalPatternMatchHelper = new ThreadLocal<PatternMatchHelper>(() => new PatternMatchHelper(
_filterText
), trackAllValues: true);
220
if (
_filterText
.Length > 0 && char.IsNumber(
_filterText
[0]) && !IsAfterDot(_snapshotData.Snapshot, _applicableToSpan))
231
_filterText
.Length == 0)
350
_filterMethod(matchResults,
_filterText
, filteredMatchResultsBuilder);
368
var longestCommonPrefixLength = bestOrFirstMatchResult.FilterTextUsed.GetCaseInsensitivePrefixLength(
_filterText
);
373
var commonPrefixLength = matchResult.FilterTextUsed.GetCaseInsensitivePrefixLength(
_filterText
);
405
if (
_filterText
.Length > 0)
422
!string.IsNullOrEmpty(
_filterText
) &&
423
!string.Equals(
_filterText
, typedChar.ToString(), StringComparison.OrdinalIgnoreCase) &&
425
!Helpers.IsFilterCharacter(bestOrFirstMatchResult.CompletionItem, typedChar,
_filterText
))
505
var match = CompareForDeletion(currentMatchResult, bestMatchResult.Value,
_filterText
);
542
hardSelect = !_hasSuggestedItemOptions && bestMatchResult.Value.FilterTextUsed.StartsWith(
_filterText
, StringComparison.CurrentCultureIgnoreCase);
780
if (
_filterText
.Length > 0 && CompletionService.IsAllPunctuation(
_filterText
) &&
_filterText
!= item.DisplayText)
788
if (
_filterText
.Length == 0)
806
Debug.Assert(
_filterText
.Length > 0 || item.Rules.MatchPriority != MatchPriority.Default);
862
if (
_filterText
.Length == 0)
928
var selectionHint =
_filterText
.Length == 0 ? UpdateSelectionHint.SoftSelected : initialSelection.SelectionHint;