Browse Source

Fixes search input help text

main
Eric Amodio 1 year ago
parent
commit
6bbd09600b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/webviews/apps/shared/components/search/search-input.ts

+ 1
- 1
src/webviews/apps/shared/components/search/search-input.ts View File

@ -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;

Loading…
Cancel
Save