mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Minimal length of search string is now 1
This commit is contained in:
parent
b83cf9a92e
commit
274afff5c3
@ -89,7 +89,7 @@ namespace MWGui
|
|||||||
void markOccurrence(size_t textPosition, size_t length);
|
void markOccurrence(size_t textPosition, size_t length);
|
||||||
size_t currentOccurrence = std::string::npos;
|
size_t currentOccurrence = std::string::npos;
|
||||||
std::string currentSearchTerm = "";
|
std::string currentSearchTerm = "";
|
||||||
const size_t minLengthOfSearchTerm = 3;
|
const size_t minLengthOfSearchTerm = 1;
|
||||||
|
|
||||||
std::string complete(std::string input, std::vector<std::string>& matches);
|
std::string complete(std::string input, std::vector<std::string>& matches);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user