IDE: Apply editor font in SortSelection dialog. Issue , patch from Alexey Torgashin.

git-svn-id: trunk@49141 -
This commit is contained in:
juha 2015-05-22 20:20:45 +00:00
parent b7aa4249a9
commit 2f09386a24

View File

@ -115,6 +115,7 @@ begin
SortSelectionDialog.TheText:=TheText;
SortSelectionDialog.PreviewSynEdit.Highlighter:=Highlighter;
EditorOpts.SetMarkupColor(Highlighter, ahaTextBlock, SortSelectionDialog.PreviewSynEdit.SelectedColor);
EditorOpts.ApplyFontSettingsTo(SortSelectionDialog.PreviewSynEdit);
SortSelectionDialog.UpdatePreview;
SortSelectionDialog.EndUpdate;
Result:=SortSelectionDialog.ShowModal;