ソースを参照

Fixes search input help text

main
Eric Amodio 1年前
コミット
6bbd09600b
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/webviews/apps/shared/components/search/search-input.ts

+ 1
- 1
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;

読み込み中…
キャンセル
保存