Add a search bar: case-insensitive, steps through matches with Tab/Shift+Tab (Refs #27)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
22
README.md
22
README.md
@@ -84,6 +84,28 @@ After sealing, `data/seed.json` is still plaintext. Delete it (and see
|
||||
4. If you changed the passphrase, the old file still opens with the *old*
|
||||
one until you save and replace it.
|
||||
|
||||
## Searching
|
||||
Below the toolbar (in view mode) is a search box with **Search**, **← Previous**,
|
||||
**Next →** and **Cancel** buttons. Type a word, press **Search** or Enter.
|
||||
It ignores capitals and looks through the whole document: section titles, text,
|
||||
record titles, field labels and values, notes, items and visual-sequence step
|
||||
text. Every match on the page is highlighted and the current one is stronger;
|
||||
the count shows as "2 of 6".
|
||||
|
||||
- **Tab** and **Shift+Tab** (with the cursor in the search box), the arrow
|
||||
buttons, or Enter / Shift+Enter move to the next or previous match. They wrap
|
||||
round at the ends and jump to the right section and sub-tab, unfolding a
|
||||
collapsed record if the match is inside it.
|
||||
- **Not found:** nothing is highlighted, the box says "Not found", the arrows
|
||||
are greyed and Tab behaves normally (it moves on to the next control).
|
||||
- **Cancel** (or Esc) clears the box and the highlights. Typing a new word
|
||||
also clears the old results until you search again.
|
||||
- **Secrets are never searched or shown.** A word that only appears inside a
|
||||
value marked secret is "Not found". Field labels are searched, values marked
|
||||
secret are not. Image text is not searchable.
|
||||
- Search is for reading: **Edit** hides the bar and clears the results.
|
||||
- The Print header page and dates such as "Updated" are not searched.
|
||||
|
||||
## Sub-tabs
|
||||
A *records* section (Banking, say) can be split into **sub-tabs** such as
|
||||
Standard, Online and Credit Union. Other kinds of section don't have them.
|
||||
|
||||
Reference in New Issue
Block a user