From 95f1b45254bd182270e31a5190fedc1d8a643d79 Mon Sep 17 00:00:00 2001 From: skalogryz Date: Mon, 13 Jan 2020 13:56:26 +0000 Subject: [PATCH] richmemo: breaking up richmemo to (runtime) package and design git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7275 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/richmemo/richmemo_design.lpk | 50 ++++++++++++ components/richmemo/richmemo_design.pas | 22 +++++ components/richmemo/richmemopackage.lpk | 104 ++++++++++-------------- components/richmemo/richmemopackage.pas | 11 +-- 4 files changed, 117 insertions(+), 70 deletions(-) create mode 100644 components/richmemo/richmemo_design.lpk create mode 100644 components/richmemo/richmemo_design.pas diff --git a/components/richmemo/richmemo_design.lpk b/components/richmemo/richmemo_design.lpk new file mode 100644 index 000000000..36ac9635b --- /dev/null +++ b/components/richmemo/richmemo_design.lpk @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/components/richmemo/richmemo_design.pas b/components/richmemo/richmemo_design.pas new file mode 100644 index 000000000..967fbd7e2 --- /dev/null +++ b/components/richmemo/richmemo_design.pas @@ -0,0 +1,22 @@ +{ This file was automatically created by Lazarus. Do not edit! + This source is only used to compile and install the package. + } + +unit richmemo_design; + +{$warn 5023 off : no warning about unused units} +interface + +uses + RtfEditPropDialog, richmemoregister, LazarusPackageIntf; + +implementation + +procedure Register; +begin + RegisterUnit('richmemoregister', @richmemoregister.Register); +end; + +initialization + RegisterPackage('richmemo_design', @Register); +end. diff --git a/components/richmemo/richmemopackage.lpk b/components/richmemo/richmemopackage.lpk index a43f429d7..171378455 100644 --- a/components/richmemo/richmemopackage.lpk +++ b/components/richmemo/richmemopackage.lpk @@ -1,16 +1,15 @@ - + - - + - + @@ -28,117 +27,100 @@ "/> - - + + - - + + - - + + - - + + - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - + + - - + + - + - - - - - + + - - + + - + - <_ExternHelp Items="Count"/> diff --git a/components/richmemo/richmemopackage.pas b/components/richmemo/richmemopackage.pas index b15332681..7fd9ba739 100644 --- a/components/richmemo/richmemopackage.pas +++ b/components/richmemo/richmemopackage.pas @@ -4,19 +4,12 @@ unit richmemopackage; +{$warn 5023 off : no warning about unused units} interface uses - RichMemoFactory, richmemoregister, RichMemoRTF, RichMemoUtils, - RichMemoHelpers, RTFParsPre211, RtfEditPropDialog, LazarusPackageIntf; + RichMemoFactory, RichMemoRTF, RichMemoUtils, RichMemoHelpers, RTFParsPre211; implementation -procedure Register; -begin - RegisterUnit('richmemoregister', @richmemoregister.Register); -end; - -initialization - RegisterPackage('richmemopackage', @Register); end.