Option dialog: Sort themes by name in the combobox.

[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Sort themes by name in the combobox.
This commit is contained in:
Benoît Minisini 2023-11-01 23:29:27 +01:00
parent b9bdfc5363
commit 6b15686060

View file

@ -208,7 +208,7 @@ Public Sub _new()
$aHighlightNames[I] = TextHighlighter.GetName($aHighlightKeys[I])
Next
cmbHighlight.List = $aHighlightNames
cmbHighlight.List = $aHighlightNames.Copy().Sort(gb.Language)
cmbHighlight.Add(("Common colors"), 0)
cmbHighlight.Index = 0
ReloadStyles