1 write to _filterText
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
82
_filterText
= applicableToSpan.GetText(_snapshotData.Snapshot);
22 references to _filterText
Microsoft.CodeAnalysis.EditorFeatures (22)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (22)
60
=> _snapshotData.DisplaySuggestionItem &&
_filterText
.Length > 0;
106
_highlightMatchingPortions =
_filterText
.Length > 0
135
var threadLocalPatternMatchHelper = new ThreadLocal<PatternMatchHelper>(() => new PatternMatchHelper(
_filterText
), trackAllValues: true);
219
if (
_filterText
.Length > 0 && char.IsNumber(
_filterText
[0]) && !IsAfterDot(_snapshotData.Snapshot, _applicableToSpan))
230
_filterText
.Length == 0)
351
_filterMethod(matchResults,
_filterText
, filteredMatchResultsBuilder);
369
var longestCommonPrefixLength = bestOrFirstMatchResult.FilterTextUsed.GetCaseInsensitivePrefixLength(
_filterText
);
374
var commonPrefixLength = matchResult.FilterTextUsed.GetCaseInsensitivePrefixLength(
_filterText
);
406
if (
_filterText
.Length > 0)
423
!string.IsNullOrEmpty(
_filterText
) &&
424
!string.Equals(
_filterText
, typedChar.ToString(), StringComparison.OrdinalIgnoreCase) &&
426
!Helpers.IsFilterCharacter(bestOrFirstMatchResult.CompletionItem, typedChar,
_filterText
))
506
var match = CompareForDeletion(currentMatchResult, bestMatchResult.Value,
_filterText
);
543
hardSelect = !_hasSuggestedItemOptions && bestMatchResult.Value.FilterTextUsed.StartsWith(
_filterText
, StringComparison.CurrentCultureIgnoreCase);
783
if (
_filterText
.Length > 0 && IsAllPunctuation(
_filterText
) &&
_filterText
!= item.DisplayText)
791
if (
_filterText
.Length == 0)
809
Debug.Assert(
_filterText
.Length > 0 || item.Rules.MatchPriority != MatchPriority.Default);
878
if (
_filterText
.Length == 0)
944
var selectionHint =
_filterText
.Length == 0 ? UpdateSelectionHint.Selected : initialSelection.SelectionHint;