SpartanJ / ecode

Lightweight multi-platform code editor designed for modern hardware with a focus on responsiveness and performance.
MIT License
938 stars 13 forks source link

Find/Replace panel deserves a button in Status bar? #359

Closed whatbh closed 1 week ago

whatbh commented 1 week ago

Currently, the Status bar displays five buttons: "Locate", "Search", "Terminal", "Build", "App Output". Clicking any of these buttons opens a corresponding panel at the bottom of the window, replacing any previously open panel.

The Find/Replace panel, accessible via the keyboard shortcut Ctrl+F, also occupies this bottom space. Unlike the other five panels, the button to open Find/Replace panel is not visible on the Status bar.

Given this, it might be more intuitive to add a sixth button to the Status bar to directly open the Find/Replace panel with a mouse click?

SpartanJ commented 1 week ago

This is intentional since the Find/Replace functionality is part of the document view, Find/Replace needs a document view open and focused, and Find/Replace is not something that is available globally (you can use the editor without a document opened). Also I think this is so basic that virtually no-one will look up for a button for "Find".