Skip to content

v7.4.0

Latest

Choose a tag to compare

@bornova bornova released this 10 Jul 03:00
052415b

Modern Find and Replace Panel

  • Replaced CodeMirror's standard dialog prompts with a custom, persistent search panel pinned at the top of the editor.
  • Added a toggle button to expand or collapse the Replace row inside the panel.
  • Added support for toggling the panel with standard keyboard shortcuts:
    • Ctrl+F / Cmd+F: Opens the panel in Find mode and focuses the search input.
    • Ctrl+H / Cmd+Alt+F: Opens the panel in Replace mode and focuses the replace input.

Enhanced Navigation and Selection Highlights

  • Hitting Enter inside the search input moves to the next match, while Shift+Enter moves to the previous match.
  • Included an occurrence counter (e.g. "X of Y") next to the input to show the active match index.
  • Redesigned match highlighting to make the active selection stand out. Other matches use a subtle blue background with an underline, while the active match is colored in a prominent amber/orange.

Space Alignment and Layout Fixes

  • Configured the editor lines, line-number gutters, and the right-hand answer column to push down dynamically when the search panel is open. This ensures no text is covered by the search bar, keeping calculations and answers perfectly aligned.
  • Designed the panel elements with fixed scaling rules (flex-shrink protection) and set a minimum width boundary for search inputs. The panel remains fully usable even on narrow windows.

Keyboard Shortcuts and Escape Key Protection

  • Updated the global application Escape key handler to prevent the calculator window from accidentally closing when dismissive keypresses are intended to close the search panel.