mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Search: Implemented highlighting of a letters from the search string
This commit is contained in:
parent
abad9133eb
commit
042880ba2d
4 changed files with 118 additions and 13 deletions
|
@ -35,8 +35,12 @@ public:
|
|||
Preset::Type type {Preset::TYPE_INVALID};
|
||||
// wxString grope;
|
||||
|
||||
bool containes(const wxString& search) const;
|
||||
bool is_matched_option(const wxString &search, int &outScore);
|
||||
bool fuzzy_match_simple(char const *search_pattern) const;
|
||||
bool fuzzy_match_simple(const wxString& search) const;
|
||||
bool fuzzy_match_simple(const std::string &search) const;
|
||||
bool fuzzy_match(char const *search_pattern, int &outScore);
|
||||
bool fuzzy_match(const wxString &search, int &outScore);
|
||||
bool fuzzy_match(const std::string &search, int &outScore);
|
||||
};
|
||||
std::vector<Option> options {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue