mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Sort font names alphabetically in SQL font selector. Fixes issue #2569.
This commit is contained in:
@ -369,6 +369,7 @@ var
|
||||
begin
|
||||
InheritFont(Font);
|
||||
EnumFontFamilies(Canvas.Handle, nil, @EnumFixedProc, LPARAM(Pointer(comboSQLFontName.Items)));
|
||||
comboSQLFontName.Sorted := True;
|
||||
SynMemoSQLSample.Text := 'SELECT DATE_SUB(NOW(), INTERVAL 1 DAY),' + CRLF +
|
||||
#9'''String literal'' AS lit' + CRLF +
|
||||
'FROM tableA AS ta -- A comment' + CRLF +
|
||||
|
Reference in New Issue
Block a user