feat(find): add find and replace

Closes #583
This commit is contained in:
Hakan Seven 2026-07-30 17:56:54 +03:00
commit c9aab122f0
10 changed files with 814 additions and 7 deletions

View file

@ -17,6 +17,7 @@ impl OpenCADStudio {
Some(K::Shortcuts) => "Keyboard Shortcuts",
Some(K::Aliases) => "Command Aliases",
Some(K::Options) => "Options",
Some(K::FindReplace) => "Find and Replace",
Some(K::PluginManager) => "Plugin Manager",
Some(K::UpdateNotice) => "Update Available",
Some(K::Layers) => "Layer Manager",
@ -102,6 +103,15 @@ impl OpenCADStudio {
)
},
),
super::super::ModalKind::FindReplace => sized(
crate::ui::window::find_replace::view_window(
&self.find_replace.search,
&self.find_replace.replacement,
&self.find_replace.status,
),
560,
190,
),
super::super::ModalKind::PluginManager => {
#[cfg(not(target_arch = "wasm32"))]
{