1 write to _filterText
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
84
_filterText
= applicableToSpan.GetText(_snapshotData.Snapshot);
22 references to _filterText
Microsoft.CodeAnalysis.EditorFeatures (22)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (22)
62
=> _snapshotData.DisplaySuggestionItem &&
_filterText
.Length > 0;
108
_highlightMatchingPortions =
_filterText
.Length > 0
137
var threadLocalPatternMatchHelper = new ThreadLocal<PatternMatchHelper>(() => new PatternMatchHelper(
_filterText
), trackAllValues: true);
221
if (
_filterText
.Length > 0 && char.IsNumber(
_filterText
[0]) && !IsAfterDot(_snapshotData.Snapshot, _applicableToSpan))
232
_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);
781
if (
_filterText
.Length > 0 && CompletionService.IsAllPunctuation(
_filterText
) &&
_filterText
!= item.DisplayText)
789
if (
_filterText
.Length == 0)
807
Debug.Assert(
_filterText
.Length > 0 || item.Rules.MatchPriority != MatchPriority.Default);
863
if (
_filterText
.Length == 0)
929
var selectionHint =
_filterText
.Length == 0 ? UpdateSelectionHint.SoftSelected : initialSelection.SelectionHint;