1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:27:35 +00:00

HackStudio: Remove FindWidget

HackStudio editors now have built-in incremental search
This commit is contained in:
thankyouverycool 2022-11-28 18:23:06 -05:00 committed by Sam Atkins
parent a97768001b
commit ed196fc265
7 changed files with 0 additions and 185 deletions

View file

@ -25,7 +25,6 @@ EditorWrapper::EditorWrapper()
// FIXME: Propagate errors instead of giving up
m_editor = MUST(Editor::try_create());
m_find_widget = add<FindWidget>(*m_editor);
add_child(*m_editor);
m_editor->set_ruler_visible(true);
@ -126,12 +125,4 @@ void EditorWrapper::set_debug_mode(bool enabled)
m_editor->set_debug_mode(enabled);
}
void EditorWrapper::search_action()
{
if (m_find_widget->visible())
m_find_widget->hide();
else
m_find_widget->show();
}
}