From 6bbd09600b7b48c98e10c21b74398cead06c6113 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 7 Jun 2023 00:03:13 -0400 Subject: [PATCH] Fixes search input help text --- src/webviews/apps/shared/components/search/search-input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webviews/apps/shared/components/search/search-input.ts b/src/webviews/apps/shared/components/search/search-input.ts index 7004bbd..9f5a29f 100644 --- a/src/webviews/apps/shared/components/search/search-input.ts +++ b/src/webviews/apps/shared/components/search/search-input.ts @@ -491,7 +491,7 @@ export class SearchInput extends FASTElement { updateHelpTextCore() { const cursor = this.input?.selectionStart; const value = this.value; - if (cursor != null && value.length !== 0 && !value.includes(':')) { + if (cursor != null && value.length !== 0 && value.includes(':')) { const regex = /(?:^|[\b\s]*)((=:|message:|@:|author:|#:|commit:|\?:|file:|~:|change:)(?:"[^"]*"?|\w*))(?:$|[\b\s])/gi;