← Về thư mục
frontend/src/features/autocomplete/detect.ts
- ComposerDetect · type · L13-L17 — type ComposerDetect = { trigger: "@" | "#" | "/"; query: string; start: number; };
- EditorDetect · type · L19-L22 — type EditorDetect = { query: string; start: number; };
- acDetectFrom · function · L27-L33 — function acDetectFrom(before: string, pos: number): ComposerDetect | null
- edacDetectFrom · function · L35-L44 — function edacDetectFrom( value: string, selectionStart: number, selectionEnd: number = selectionStart, ): EditorDetect | null
- edacExt · function · L46-L49 — function edacExt(filename: string | null | undefined): string