Repository navigation
Added Find bar (Ctrl+F / F3 / Shift+F3) to Markdown Preview - #119
Merged
Merged
Conversation
Find bar mirrors NetBeans SearchBar layout and uses its icons loaded from the editor.search module JAR via ImageUtilities. Supports incremental search, match case, whole words, regexp, highlight all, wrap around. Added to MarkdownPreviewTab (single-pane preview) and MarkdownDiffPanel (per-pane, independent bars). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…avigation - Combo sized dynamically 200–350 px (mirrors SearchComboBox) - Previous/Next/Select buttons show icon + text label (matches NB SearchBar) - Search history persisted to NbPreferences and restored on IDE restart - Ctrl+F bound on WHEN_FOCUSED to override built-in JEditorPane action - F3/Shift+F3 bound directly on find bar text field (WHEN_FOCUSED) - F3 when bar is closed: searches and navigates in one keypress (no double-press) - Repeated F3 advances past current match using selectionEnd as boundary - looseFocus() preserves matchPositions so F3 resumes from correct position Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MarkdownFindBarin packageio.github.nbclaudecodegui.ui.common.markdown— custom find bar mirroring NetBeans SearchBar layout and icons (loaded fromeditor.searchmodule JAR at runtime, no copying)MarkdownPreviewTab(single-pane preview) andMarkdownDiffPanel(independent bar per pane)NbPreferencesand restored on IDE restartselectionEndas boundaryTest plan
🤖 Generated with Claude Code