mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 13:17:18 +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
|
begin
|
||||||
if ((FontHeight>=0) and (FontHeight<=5))
|
if ((FontHeight>=0) and (FontHeight<=5))
|
||||||
or ((FontHeight<0) and (FontHeight>=-5)) then
|
or ((FontHeight<0) and (FontHeight>=-5)) then
|
||||||
FontHeight:=12;
|
FontHeight := SynDefaultFontHeight;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function StrToLazSyntaxHighlighter(const s: String): TLazSyntaxHighlighter;
|
function StrToLazSyntaxHighlighter(const s: String): TLazSyntaxHighlighter;
|
||||||
|
Loading…
Reference in New Issue
Block a user