mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 02:09:36 +02:00
parent
3f21545b7d
commit
6fe5b10fcc
@ -4927,6 +4927,8 @@ Begin
|
|||||||
RegisterMouseActionExecHandler(@EditorHandleMouseAction);
|
RegisterMouseActionExecHandler(@EditorHandleMouseAction);
|
||||||
// IMPORTANT: when you change above, don't forget updating UnbindEditor
|
// IMPORTANT: when you change above, don't forget updating UnbindEditor
|
||||||
Parent := AParent;
|
Parent := AParent;
|
||||||
|
if AParent.Font.PixelsPerInch<>96 then
|
||||||
|
AutoAdjustLayout(lapAutoAdjustForDPI, 96, AParent.Font.PixelsPerInch, 0, 0);
|
||||||
end;
|
end;
|
||||||
Manager.CodeTemplateModul.AddEditor(FEditor);
|
Manager.CodeTemplateModul.AddEditor(FEditor);
|
||||||
Manager.FMacroRecorder.AddEditor(FEditor);
|
Manager.FMacroRecorder.AddEditor(FEditor);
|
||||||
|
Loading…
Reference in New Issue
Block a user