https://gitlab.synchro.net/main/sbbs/-/commit/a645e2ce8a3a6aae9542d7e3
Added Files:
docs/superpowers/plans/2026-11-24-extfileinfo.md docs/superpowers/specs/2026-11-24-extfileinfo-design.md exec/extfileinfo.js exec/load/extfileinfo_lib.js exec/tests/extfileinfo/lib.js
Modified Files:
ctrl/modopts.ini docs/v322_new.md exec/listfiles.js exec/load/listfiles_lib.js exec/tests/listfiles/lib.js
Log Message:
extfileinfo.js, and search highlighting in listfiles.js descriptions
listfiles.js highlights what a file search found in the short and
extended descriptions (inline and in the lightbar preview pane),
parsing the search expression as bool_search() does: AND/OR/NOT,
parentheses, quoted whole-word terms; terms under a NOT aren't
highlighted. Each match is shown in the color it's in with its bright
attribute toggled, or in the new found_attr option's color. Ctrl-A
codes and ANSI escape sequences in a description are never split, and
a color a description sets after a match is kept.
New stock Extended File Info module, extfileinfo.js: shows a file's
extended information as the built-in display does (the same text.dat
strings, fields, fileinfo menu file and @-code handling), with what
the search found highlighted in bright yellow, or found_attr's color. listfiles.js passes its search expression to bbs.view_file_info().
Tests in exec/tests/listfiles and exec/tests/extfileinfo.
Fixes #1421
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net