diff --git a/PowerEditor/src/Parameters.h b/PowerEditor/src/Parameters.h index 8f3f46a8f..afa18f6d0 100644 --- a/PowerEditor/src/Parameters.h +++ b/PowerEditor/src/Parameters.h @@ -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; } };