Explorar el Código

Fixes search input help text

main
Eric Amodio hace 1 año
padre
commit
6bbd09600b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/webviews/apps/shared/components/search/search-input.ts

+ 1
- 1
src/webviews/apps/shared/components/search/search-input.ts Ver fichero

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

Cargando…
Cancelar
Guardar