Added a setting for files in which the editor should search (project wise).
Remembers the tickboxes but only during the same execution Fixes #25440
This commit is contained in:
@ -31,6 +31,7 @@
|
||||
#ifndef FIND_IN_FILES_H
|
||||
#define FIND_IN_FILES_H
|
||||
|
||||
#include "core/hash_map.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
|
||||
// Performs the actual search
|
||||
@ -88,6 +89,7 @@ private:
|
||||
class LineEdit;
|
||||
class CheckBox;
|
||||
class FileDialog;
|
||||
class HBoxContainer;
|
||||
|
||||
// Prompts search parameters
|
||||
class FindInFilesDialog : public AcceptDialog {
|
||||
@ -120,12 +122,13 @@ private:
|
||||
|
||||
LineEdit *_search_text_line_edit;
|
||||
LineEdit *_folder_line_edit;
|
||||
Vector<CheckBox *> _filters;
|
||||
CheckBox *_match_case_checkbox;
|
||||
CheckBox *_whole_words_checkbox;
|
||||
Button *_find_button;
|
||||
Button *_replace_button;
|
||||
FileDialog *_folder_dialog;
|
||||
HBoxContainer *_filters_container;
|
||||
HashMap<String, bool> _filters_preferences;
|
||||
};
|
||||
|
||||
class Button;
|
||||
|
||||
Reference in New Issue
Block a user