mirror of https://gitlab.com/basile.b/dexed.git
fix, reg 2a3, default font size not applyed on new editor,
+ side effect: strange behaviour of zooming with CTRL +
This commit is contained in:
parent
873adf97f1
commit
370da3a268
|
|
@ -442,7 +442,11 @@ end;
|
|||
{$REGION ICEMultiDocObserver ---------------------------------------------------}
|
||||
procedure TCEEditorOptions.docNew(aDoc: TCESynMemo);
|
||||
begin
|
||||
//apply...des not modify font size to preserve current zoom
|
||||
// when called after the options are edited
|
||||
applyChangeToEditor(aDoc);
|
||||
// must be set manually for a new doc
|
||||
aDoc.Font.Size:=self.font.Size;
|
||||
end;
|
||||
|
||||
procedure TCEEditorOptions.docFocused(aDoc: TCESynMemo);
|
||||
|
|
|
|||
Loading…
Reference in New Issue