| 378 | } |
| 379 | |
| 380 | void ScriptEditorQuickOpen::popup_dialog(const Vector<String> &p_functions, bool p_dontclear) { |
| 381 | popup_centered_ratio(0.6); |
| 382 | if (p_dontclear) { |
| 383 | search_box->select_all(); |
| 384 | } else { |
| 385 | search_box->clear(); |
| 386 | } |
| 387 | search_box->grab_focus(); |
| 388 | functions = p_functions; |
| 389 | _update_search(); |
| 390 | } |
| 391 | |
| 392 | void ScriptEditorQuickOpen::_text_changed(const String &p_newtext) { |
| 393 | _update_search(); |
no test coverage detected