mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:49:29 +02:00
IDE, EditorOpts: fixed old hard coded default font height, use SynDefaultFontHeight
git-svn-id: trunk@32051 -
This commit is contained in:
parent
fb0810d4a7
commit
4a3ebdadfa
@ -1272,7 +1272,7 @@ procedure RepairEditorFontHeight(var FontHeight: integer);
|
||||
begin
|
||||
if ((FontHeight>=0) and (FontHeight<=5))
|
||||
or ((FontHeight<0) and (FontHeight>=-5)) then
|
||||
FontHeight:=12;
|
||||
FontHeight := SynDefaultFontHeight;
|
||||
end;
|
||||
|
||||
function StrToLazSyntaxHighlighter(const s: String): TLazSyntaxHighlighter;
|
||||
|
Loading…
Reference in New Issue
Block a user