Skip to content

fix: search scrolling, focus, and highlight issues#12

Open
sasbucha wants to merge 2 commits into
BOSSincrypto:init-mainfrom
sasbucha:fix/search-bugs
Open

fix: search scrolling, focus, and highlight issues#12
sasbucha wants to merge 2 commits into
BOSSincrypto:init-mainfrom
sasbucha:fix/search-bugs

Conversation

@sasbucha

Copy link
Copy Markdown

Summary

Fixes several bugs in the search/FindReplace functionality:

  • Scrolling - search was navigating to wrong position in the document
  • Focus - focus was lost after search operations
  • Highlight - search result highlighting was not displaying correctly

Files Changed

  • src/components/Editor/searchPlugin.ts - search highlight plugin
  • src/components/FindReplace/FindReplace.tsx - find & replace component

sasbucha added 2 commits June 26, 2026 06:00
- Add Settings component with language, theme, font size, spellcheck, auto-save options
- Add i18n system with English and Russian translations
- Add Table of Contents component for heading navigation
- Add search plugin for editor
- Fix menu bar keyboard shortcuts and handlers
- Fix unsaved changes warning (beforeunload)
- Fix theme sync with OS preferences
- Fix dead menu items (Preferences, Shortcuts, DevTools, Zoom, Fullscreen)
- Fix closeTab dependency array issue
- Clean up unused FileData interface and _event parameter
- Add standard keyboard shortcuts (Ctrl+S, Ctrl+W, Ctrl+O)
- Add recent files/folders support in electron main process
- Add auto-update check via GitHub API
- Fix search navigating to wrong position
- Fix focus loss after search operations
- Fix highlight not displaying correctly in search results
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