Merge pull request #2116 from alederer/sortFuzzyMatches

In command palette, sort matches by quality/exactness
This commit is contained in:
tildearrow 2024-09-25 13:52:00 -05:00 committed by GitHub
commit b2c1f8d919
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 239 additions and 86 deletions

View file

@ -1628,10 +1628,11 @@ class FurnaceGUI {
String mmlStringSNES[DIV_MAX_CHIPS];
String folderString;
struct PaletteSearchResult { int id; std::vector<int> highlightChars; };
std::vector<DivSystem> sysSearchResults;
std::vector<std::pair<DivSample*,bool>> sampleBankSearchResults;
std::vector<FurnaceGUISysDef> newSongSearchResults;
std::vector<int> paletteSearchResults;
std::vector<PaletteSearchResult> paletteSearchResults;
FixedQueue<String,32> recentFile;
std::vector<DivInstrumentType> makeInsTypeList;
std::vector<FurnaceGUIWaveSizeEntry> waveSizeList;