mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
HackStudio: Remove FindWidget
HackStudio editors now have built-in incremental search
This commit is contained in:
parent
a97768001b
commit
ed196fc265
7 changed files with 0 additions and 185 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue