|
@@ -756,8 +756,6 @@ end;
|
|
|
function TMainForm.InitializeMemoBase(const Memo: TIDEScintEdit; const PopupMenu: TPopupMenu): TIDEScintEdit;
|
|
|
begin
|
|
|
Memo.Align := alClient;
|
|
|
- Memo.AutoCompleteFontName := Font.Name;
|
|
|
- Memo.AutoCompleteFontSize := Font.Size;
|
|
|
Memo.Font.Name := GetPreferredMemoFont; { Default font only, see ReadConfig }
|
|
|
Memo.Font.Size := 10;
|
|
|
Memo.ShowHint := True;
|
|
@@ -871,7 +869,7 @@ constructor TMainForm.Create(AOwner: TComponent);
|
|
|
if (I >= 0) and (I <= Ord(High(TThemeType))) then
|
|
|
FOptions.ThemeType := TThemeType(I);
|
|
|
FMainMemo.Font.Name := Ini.ReadString('Options', 'EditorFontName', FMainMemo.Font.Name);
|
|
|
- FMainMemo.Font.Size := Ini.ReadInteger('Options', 'EditorFontSize', FMainMemo.Font.Size);
|
|
|
+ FMainMemo.Font.Size := Ini.ReadInteger('Options', 'EditorFontSize', 10);
|
|
|
FMainMemo.Font.Charset := Ini.ReadInteger('Options', 'EditorFontCharset', FMainMemo.Font.Charset);
|
|
|
FMainMemo.Zoom := Ini.ReadInteger('Options', 'Zoom', 0); { MemoZoom will zoom the other memos }
|
|
|
for Memo in FMemos do
|