diff --git a/Scintilla.NET/Scintilla.cs b/Scintilla.NET/Scintilla.cs index eaf4063..2ae4c37 100644 --- a/Scintilla.NET/Scintilla.cs +++ b/Scintilla.NET/Scintilla.cs @@ -4738,6 +4738,7 @@ public override Font Font set { var defaultFontStyle = Styles[Style.Default]; + value = value ?? Parent?.Font ?? Control.DefaultFont; defaultFontStyle.Font = value.Name; defaultFontStyle.SizeF = value.Size; defaultFontStyle.Bold = value.Bold;