Skip to content

Add find-in-document (Ctrl/Cmd+F)#5

Merged
robrighter merged 2 commits into
mainfrom
claude/doc-text-search-HdZt6
Jun 8, 2026
Merged

Add find-in-document (Ctrl/Cmd+F)#5
robrighter merged 2 commits into
mainfrom
claude/doc-text-search-HdZt6

Conversation

@robrighter
Copy link
Copy Markdown
Owner

Floating find bar with next/prev navigation, match counter, and Escape
to close. Works in Text and Split modes via CodeMirror custom mark
decorations (amber highlight for all matches, orange for current).
Works in Display mode via a rehype plugin that wraps matching text
nodes in elements; navigation scrolls the current match into
view. Hybrid (wysiwyg) mode shows the bar with a note to switch
modes. Resets on document switch. Also fixes pre-existing
printHtmlDocument → printDocument typo.

https://claude.ai/code/session_01DAswnLYQhTtQSmDzSsnczb

claude added 2 commits June 5, 2026 18:07
Floating find bar with next/prev navigation, match counter, and Escape
to close. Works in Text and Split modes via CodeMirror custom mark
decorations (amber highlight for all matches, orange for current).
Works in Display mode via a rehype plugin that wraps matching text
nodes in <mark> elements; navigation scrolls the current match into
view. Hybrid (wysiwyg) mode shows the bar with a note to switch
modes. Resets on document switch. Also fixes pre-existing
printHtmlDocument → printDocument typo.

https://claude.ai/code/session_01DAswnLYQhTtQSmDzSsnczb
@robrighter robrighter merged commit 3a83bb9 into main Jun 8, 2026
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.

2 participants