Skip to content

feat: add in-document search - #115

Merged
lezli01 merged 1 commit into
masterfrom
009-add-document-search
Aug 15, 2026
Merged

feat: add in-document search#115
lezli01 merged 1 commit into
masterfrom
009-add-document-search

Conversation

@lezli01

@lezli01 lezli01 commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the webview-wide Cmd/Ctrl+F behavior with an active-document search bar
  • highlight and count matches with wrapped forward/backward navigation
  • add responsive toolbar access, focused unit coverage, and refreshed README screenshots

Why

The default webview search scans application chrome as well as document content, which makes finding text in the editor confusing. MarkPad now owns the shortcut and limits searching to the active document.

Impact

Search opens from the toolbar or Cmd/Ctrl+F, supports Enter and Shift+Enter navigation, and closes with Escape. In preview-only mode, MarkPad switches to the editor so the selected match remains visible.

Validation

  • npm test — 267 tests passed
  • npm run lint
  • npm run build
  • git diff --check
  • README image audit
  • manual browser checks at desktop and 480px widths

@lezli01 lezli01 changed the title Add in-document search feat: add in-document search Aug 15, 2026
@lezli01
lezli01 force-pushed the 009-add-document-search branch from e94a94b to 8d3189f Compare August 15, 2026 15:55
@lezli01
lezli01 marked this pull request as ready for review August 15, 2026 15:57
@lezli01
lezli01 merged commit 7e6fbf0 into master Aug 15, 2026
8 checks passed
@lezli01
lezli01 deleted the 009-add-document-search branch August 15, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant