Sort "Search result" to the bottom in language list of Style Configurator
Exclude "Search Results" from the sort and placing it at the bottom as it was before:
2474cbeafd
Fix #11337, close #11557
This commit is contained in:
parent
f6ade2c915
commit
0505bda865
|
@ -508,6 +508,10 @@ private :
|
|||
|
||||
struct SortLexersInAlphabeticalOrder {
|
||||
bool operator() (LexerStyler& l, LexerStyler& r) {
|
||||
if (!lstrcmp(l.getLexerDesc(), TEXT("Search result")))
|
||||
return false;
|
||||
if (!lstrcmp(r.getLexerDesc(), TEXT("Search result")))
|
||||
return true;
|
||||
return lstrcmp(l.getLexerDesc(), r.getLexerDesc()) < 0;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue