mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Optimization: set up a single TSynMemo instance instead of all, e.g. when creating a new query tab
This commit is contained in:
@ -273,7 +273,7 @@ begin
|
||||
pnlLeft.Width := AppSettings.ReadIntDpiAware(asSQLHelpPnlLeftWidth, Self);
|
||||
memoDescription.Height := AppSettings.ReadIntDpiAware(asSQLHelpPnlRightTopHeight, Self);
|
||||
// Apply themed colors in OnShow, not OnCreate, as a check with <> nil returns false otherwise
|
||||
MainForm.SetupSynEditors;
|
||||
MainForm.SetupSynEditors(Self);
|
||||
// These SynMemo's don't have any (SQL) highligher, so we have to assign correct colors for basic text
|
||||
memoDescription.Font.Color := GetThemeColor(clWindowText);
|
||||
MemoExample.Font.Color := GetThemeColor(clWindowText);
|
||||
|
Reference in New Issue
Block a user