mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 20:17:13 +01:00
IDE: Export Html, option to use background color. Part of issue #40088
This commit is contained in:
parent
b0e5787dce
commit
06bb1297c7
@ -4895,10 +4895,10 @@ begin
|
||||
Html.ExportAsText := True;
|
||||
Html.Highlighter := FEditor.Highlighter;
|
||||
Html.Title := PageName;
|
||||
Html.Font.Assign(FEditor.Font);
|
||||
Html.UseBackground := EditorOpts.ExportHtmlWithBackground;
|
||||
if EditorOpts.ExportHtmlWithBackground then begin
|
||||
Html.Color := FEditor.Color;
|
||||
Html.Font.Assign(FEditor.Font);
|
||||
end;
|
||||
Html.ExportAll(FEditor.Lines);
|
||||
Html.SaveToFile(AFileName);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user