mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 06:08:17 +02:00
SynEdit: moved registration to separate package
git-svn-id: trunk@38374 -
This commit is contained in:
parent
dbe9056692
commit
ee8d125c0d
12
.gitattributes
vendored
12
.gitattributes
vendored
@ -2463,8 +2463,15 @@ components/sqlite/tsqlitedataset.png -text
|
||||
components/synedit/Makefile.compiled svneol=native#text/plain
|
||||
components/synedit/allsynedit.pas svneol=native#text/plain
|
||||
components/synedit/design/README.txt svneol=native#text/plain
|
||||
components/synedit/design/allsyneditdsgn.pas svneol=native#text/pascal
|
||||
components/synedit/design/syndesignstringconstants.pas svneol=native#text/plain
|
||||
components/synedit/design/syneditdsgn.lpk svneol=native#text/xml
|
||||
components/synedit/design/syneditlazdsgn.bat svneol=native#text/x-msdos-program
|
||||
components/synedit/design/syneditlazdsgn.lrs svneol=native#text/pascal
|
||||
components/synedit/design/syneditlazdsgn.pas svneol=native#text/pascal
|
||||
components/synedit/design/syneditlazdsgn.txt svneol=native#text/plain
|
||||
components/synedit/design/synpropertyeditobjectlist.lfm svneol=native#text/plain
|
||||
components/synedit/design/synpropertyeditobjectlist.pas svneol=native#text/plain
|
||||
components/synedit/design/tsynanysyn.png -text svneol=unset#image/png
|
||||
components/synedit/design/tsynautocomplete.png -text svneol=unset#image/png
|
||||
components/synedit/design/tsynbatsyn.png -text
|
||||
@ -2560,7 +2567,6 @@ components/synedit/lazsynimm.pas svneol=native#text/pascal
|
||||
components/synedit/lazsyntextarea.pp svneol=native#text/pascal
|
||||
components/synedit/synbeautifier.pas svneol=native#text/plain
|
||||
components/synedit/syncompletion.pas svneol=native#text/pascal
|
||||
components/synedit/syndesignstringconstants.pas svneol=native#text/plain
|
||||
components/synedit/synedit.inc svneol=native#text/pascal
|
||||
components/synedit/synedit.lpk svneol=native#text/plain
|
||||
components/synedit/synedit.pp svneol=native#text/pascal
|
||||
@ -2571,8 +2577,6 @@ components/synedit/synedithighlighter.pp svneol=native#text/pascal
|
||||
components/synedit/synedithighlighterfoldbase.pas svneol=native#text/plain
|
||||
components/synedit/synedithighlighterxmlbase.pas svneol=native#text/pascal
|
||||
components/synedit/syneditkeycmds.pp svneol=native#text/pascal
|
||||
components/synedit/syneditlazdsgn.lrs svneol=native#text/pascal
|
||||
components/synedit/syneditlazdsgn.pas svneol=native#text/pascal
|
||||
components/synedit/syneditlines.pas svneol=native#text/plain
|
||||
components/synedit/syneditmarks.pp svneol=native#text/plain
|
||||
components/synedit/syneditmarkup.pp svneol=native#text/plain
|
||||
@ -2634,8 +2638,6 @@ components/synedit/synmemo.pas svneol=native#text/pascal
|
||||
components/synedit/synpluginsyncroedit.pp svneol=native#text/pascal
|
||||
components/synedit/synpluginsyncronizededitbase.pp svneol=native#text/pascal
|
||||
components/synedit/synplugintemplateedit.pp svneol=native#text/pascal
|
||||
components/synedit/synpropertyeditobjectlist.lfm svneol=native#text/plain
|
||||
components/synedit/synpropertyeditobjectlist.pas svneol=native#text/plain
|
||||
components/synedit/synregexpr.pas svneol=native#text/pascal
|
||||
components/synedit/syntextdrawer.pp svneol=native#text/pascal
|
||||
components/synedit/test/SynTest.lpi svneol=native#text/plain
|
||||
|
@ -7,25 +7,28 @@ unit allsynedit;
|
||||
interface
|
||||
|
||||
uses
|
||||
SynBeautifier, SynCompletion, SynDesignStringConstants, SynEdit, SynEditAutoComplete,
|
||||
SynEditExport, SynEditFoldedView, SynEditHighlighter, SynEditHighlighterFoldBase,
|
||||
SynEditHighlighterXMLBase, SynEditKeyCmds, SynEditLazDsgn, SynEditLines, SynEditMarks,
|
||||
SynEditMarkup, SynEditMarkupBracket, SynEditMarkupCtrlMouseLink, SynEditMarkupHighAll,
|
||||
SynBeautifier, SynCompletion, SynEdit, SynEditAutoComplete, SynEditExport,
|
||||
SynEditFoldedView, SynEditHighlighter, SynEditHighlighterFoldBase,
|
||||
SynEditHighlighterXMLBase, SynEditKeyCmds, LazSynEditMouseCmdsTypes,
|
||||
SynHighlighterPo, SynEditLines, SynEditMarks, SynEditMarkup,
|
||||
SynEditMarkupBracket, SynEditMarkupCtrlMouseLink, SynEditMarkupHighAll,
|
||||
SynEditMarkupSelection, SynEditMarkupSpecialLine, SynEditMarkupWordGroup,
|
||||
SynEditMiscClasses, SynEditMiscProcs, SynEditMouseCmds, SynEditPlugins,
|
||||
SynEditPointClasses, SynEditRegexSearch, SynEditSearch, SynEditStrConst, SynEditTextBase,
|
||||
SynEditTextBuffer, SynEditTextDoubleWidthChars, SynEditTextTabExpander, SynEditTextTrimmer,
|
||||
SynEditTypes, SynExportHTML, SynGutter, SynGutterBase, SynGutterChanges,
|
||||
SynGutterCodeFolding, SynGutterLineNumber, SynGutterLineOverview, SynGutterMarks,
|
||||
SynEditPointClasses, SynEditRegexSearch, SynEditSearch, SynEditStrConst,
|
||||
SynEditTextBase, SynEditTextBuffer, SynEditTextDoubleWidthChars,
|
||||
SynEditTextTabExpander, SynEditTextTrimmer, SynEditTypes, SynExportHTML,
|
||||
SynGutter, SynGutterBase, SynGutterChanges, SynGutterCodeFolding,
|
||||
SynGutterLineNumber, SynGutterLineOverview, SynGutterMarks,
|
||||
SynHighlighterAny, SynHighlighterCpp, SynHighlighterCss, SynHighlighterDiff,
|
||||
SynHighlighterHashEntries, SynHighlighterHTML, SynHighlighterJava, SynHighlighterJScript,
|
||||
SynHighlighterLFM, SynHighlighterMulti, SynHighlighterPas, SynHighlighterPerl,
|
||||
SynHighlighterPHP, SynHighlighterPosition, SynHighlighterPython, SynHighlighterSQL,
|
||||
SynHighlighterTeX, synhighlighterunixshellscript, SynHighlighterVB, SynHighlighterXML,
|
||||
SynMacroRecorder, SynMemo, SynPluginSyncroEdit, SynPluginSyncronizedEditBase,
|
||||
SynPluginTemplateEdit, SynPropertyEditObjectList, SynRegExpr, SynTextDrawer,
|
||||
SynEditMarkupGutterMark, SynHighlighterBat, SynHighlighterIni, SynEditMarkupSpecialChar,
|
||||
LazSynEditText, LazSynTextArea, LazSynEditMouseCmdsTypes, SynHighlighterPo,
|
||||
SynHighlighterHashEntries, SynHighlighterHTML, SynHighlighterJava,
|
||||
SynHighlighterJScript, SynHighlighterLFM, SynHighlighterMulti,
|
||||
SynHighlighterPas, SynHighlighterPerl, SynHighlighterPHP,
|
||||
SynHighlighterPosition, SynHighlighterPython, SynHighlighterSQL,
|
||||
SynHighlighterTeX, synhighlighterunixshellscript, SynHighlighterVB,
|
||||
SynHighlighterXML, SynMacroRecorder, SynMemo, SynPluginSyncroEdit,
|
||||
SynPluginSyncronizedEditBase, SynPluginTemplateEdit, LazSynEditText,
|
||||
LazSynTextArea, SynRegExpr, SynTextDrawer, SynEditMarkupGutterMark,
|
||||
SynHighlighterBat, SynHighlighterIni, SynEditMarkupSpecialChar,
|
||||
LazarusPackageIntf;
|
||||
|
||||
implementation
|
||||
@ -33,7 +36,6 @@ implementation
|
||||
procedure Register;
|
||||
begin
|
||||
RegisterUnit('SynEdit', @SynEdit.Register);
|
||||
RegisterUnit('SynEditLazDsgn', @SynEditLazDsgn.Register);
|
||||
end;
|
||||
|
||||
initialization
|
||||
|
22
components/synedit/design/allsyneditdsgn.pas
Normal file
22
components/synedit/design/allsyneditdsgn.pas
Normal file
@ -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 allsyneditdsgn;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
SynDesignStringConstants, SynEditLazDsgn, SynPropertyEditObjectList,
|
||||
LazarusPackageIntf;
|
||||
|
||||
implementation
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
RegisterUnit('SynEditLazDsgn', @SynEditLazDsgn.Register);
|
||||
end;
|
||||
|
||||
initialization
|
||||
RegisterPackage('SynEditDsgn', @Register);
|
||||
end.
|
92
components/synedit/design/syneditdsgn.lpk
Normal file
92
components/synedit/design/syneditdsgn.lpk
Normal file
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<Package Version="4">
|
||||
<Name Value="SynEditDsgn"/>
|
||||
<Author Value="Lazarus Team, SynEdit"/>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<SearchPaths>
|
||||
<UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<VerifyObjMethodCallValidity Value="True"/>
|
||||
</CodeGeneration>
|
||||
<Other>
|
||||
<Verbosity>
|
||||
<ShowGenInfo Value="False"/>
|
||||
</Verbosity>
|
||||
<CompilerMessages>
|
||||
<IgnoredMessages idx4055="True" idx5024="True"/>
|
||||
</CompilerMessages>
|
||||
<CustomOptions Value="$(IDEBuildOptions) -CR -dgc"/>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
<Description Value="IDE Registration for SynEdit.
|
||||
|
||||
SynEdit is a line-based editing component with support for syntax-highlighting.
|
||||
Originally based on the Synedit project at http://sourceforge.net/projects/synedit, it was ported to LCL and heavily extended by the Lazarus developers.
|
||||
"/>
|
||||
<License Value="MPL-1.1 or GPL-2 at the users choice
|
||||
|
||||
SynEdit and all it's units are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
||||
|
||||
Alternatively, the contents of these files may be used under the terms of the GNU General Public License Version 2 or later (the "GPL"), in which case the provisions of the GPL are applicable instead of those above.
|
||||
If you wish to allow use of your version of these files only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the GPL.
|
||||
"/>
|
||||
<Version Major="1"/>
|
||||
<Files Count="6">
|
||||
<Item1>
|
||||
<Filename Value="syndesignstringconstants.pas"/>
|
||||
<UnitName Value="SynDesignStringConstants"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<Filename Value="syneditlazdsgn.lrs"/>
|
||||
<Type Value="LRS"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<Filename Value="syneditlazdsgn.pas"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="SynEditLazDsgn"/>
|
||||
</Item3>
|
||||
<Item4>
|
||||
<Filename Value="synpropertyeditobjectlist.lfm"/>
|
||||
<Type Value="LFM"/>
|
||||
</Item4>
|
||||
<Item5>
|
||||
<Filename Value="synpropertyeditobjectlist.pas"/>
|
||||
<UnitName Value="SynPropertyEditObjectList"/>
|
||||
</Item5>
|
||||
<Item6>
|
||||
<Filename Value="allsyneditdsgn.pas"/>
|
||||
<Type Value="Main Unit"/>
|
||||
<UnitName Value="allsyneditdsgn"/>
|
||||
</Item6>
|
||||
</Files>
|
||||
<LazDoc Paths="docs/xml"/>
|
||||
<i18n>
|
||||
<EnableI18N Value="True"/>
|
||||
<OutDir Value="languages"/>
|
||||
</i18n>
|
||||
<Type Value="RunAndDesignTime"/>
|
||||
<RequiredPkgs Count="2">
|
||||
<Item1>
|
||||
<PackageName Value="IDEIntf"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<PackageName Value="SynEdit"/>
|
||||
</Item2>
|
||||
</RequiredPkgs>
|
||||
<UsageOptions>
|
||||
<UnitPath Value="$(PkgOutDir)"/>
|
||||
</UsageOptions>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
</PublishOptions>
|
||||
<CustomOptions Items="ExternHelp" Version="2">
|
||||
<_ExternHelp Items="Count"/>
|
||||
</CustomOptions>
|
||||
</Package>
|
||||
</CONFIG>
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<Package Version="4">
|
||||
<PathDelim Value="\"/>
|
||||
<Name Value="SynEdit"/>
|
||||
<Author Value="Lazarus Team, SynEdit"/>
|
||||
<CompilerOptions>
|
||||
@ -36,7 +37,7 @@ Alternatively, the contents of these files may be used under the terms of the GN
|
||||
If you wish to allow use of your version of these files only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the GPL.
|
||||
"/>
|
||||
<Version Major="1"/>
|
||||
<Files Count="83">
|
||||
<Files Count="78">
|
||||
<Item1>
|
||||
<Filename Value="synbeautifier.pas"/>
|
||||
<UnitName Value="SynBeautifier"/>
|
||||
@ -46,8 +47,9 @@ If you wish to allow use of your version of these files only under the terms of
|
||||
<UnitName Value="SynCompletion"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<Filename Value="syndesignstringconstants.pas"/>
|
||||
<UnitName Value="SynDesignStringConstants"/>
|
||||
<Filename Value="lazsynimm.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="LazSynIMM"/>
|
||||
</Item3>
|
||||
<Item4>
|
||||
<Filename Value="synedit.pp"/>
|
||||
@ -83,13 +85,12 @@ If you wish to allow use of your version of these files only under the terms of
|
||||
<UnitName Value="SynEditKeyCmds"/>
|
||||
</Item11>
|
||||
<Item12>
|
||||
<Filename Value="syneditlazdsgn.lrs"/>
|
||||
<Type Value="LRS"/>
|
||||
<Filename Value="lazsyneditmousecmdstypes.pp"/>
|
||||
<UnitName Value="LazSynEditMouseCmdsTypes"/>
|
||||
</Item12>
|
||||
<Item13>
|
||||
<Filename Value="syneditlazdsgn.pas"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="SynEditLazDsgn"/>
|
||||
<Filename Value="synhighlighterpo.pp"/>
|
||||
<UnitName Value="SynHighlighterPo"/>
|
||||
</Item13>
|
||||
<Item14>
|
||||
<Filename Value="syneditlines.pas"/>
|
||||
@ -316,12 +317,12 @@ If you wish to allow use of your version of these files only under the terms of
|
||||
<UnitName Value="SynPluginTemplateEdit"/>
|
||||
</Item69>
|
||||
<Item70>
|
||||
<Filename Value="synpropertyeditobjectlist.lfm"/>
|
||||
<Type Value="LFM"/>
|
||||
<Filename Value="lazsynedittext.pas"/>
|
||||
<UnitName Value="LazSynEditText"/>
|
||||
</Item70>
|
||||
<Item71>
|
||||
<Filename Value="synpropertyeditobjectlist.pas"/>
|
||||
<UnitName Value="SynPropertyEditObjectList"/>
|
||||
<Filename Value="lazsyntextarea.pp"/>
|
||||
<UnitName Value="LazSynTextArea"/>
|
||||
</Item71>
|
||||
<Item72>
|
||||
<Filename Value="synregexpr.pas"/>
|
||||
@ -332,47 +333,26 @@ If you wish to allow use of your version of these files only under the terms of
|
||||
<UnitName Value="SynTextDrawer"/>
|
||||
</Item73>
|
||||
<Item74>
|
||||
<Filename Value="syneditmarkupguttermark.pp"/>
|
||||
<UnitName Value="SynEditMarkupGutterMark"/>
|
||||
</Item74>
|
||||
<Item75>
|
||||
<Filename Value="synhighlighterbat.pas"/>
|
||||
<UnitName Value="SynHighlighterBat"/>
|
||||
</Item75>
|
||||
<Item76>
|
||||
<Filename Value="synhighlighterini.pas"/>
|
||||
<UnitName Value="SynHighlighterIni"/>
|
||||
</Item76>
|
||||
<Item77>
|
||||
<Filename Value="syneditmarkupspecialchar.pp"/>
|
||||
<UnitName Value="SynEditMarkupSpecialChar"/>
|
||||
</Item77>
|
||||
<Item78>
|
||||
<Filename Value="allsynedit.pas"/>
|
||||
<Type Value="Main Unit"/>
|
||||
<UnitName Value="allsynedit"/>
|
||||
</Item74>
|
||||
<Item75>
|
||||
<Filename Value="syneditmarkupguttermark.pp"/>
|
||||
<UnitName Value="SynEditMarkupGutterMark"/>
|
||||
</Item75>
|
||||
<Item76>
|
||||
<Filename Value="synhighlighterbat.pas"/>
|
||||
<UnitName Value="SynHighlighterBat"/>
|
||||
</Item76>
|
||||
<Item77>
|
||||
<Filename Value="synhighlighterini.pas"/>
|
||||
<UnitName Value="SynHighlighterIni"/>
|
||||
</Item77>
|
||||
<Item78>
|
||||
<Filename Value="syneditmarkupspecialchar.pp"/>
|
||||
<UnitName Value="SynEditMarkupSpecialChar"/>
|
||||
</Item78>
|
||||
<Item79>
|
||||
<Filename Value="lazsynedittext.pas"/>
|
||||
<UnitName Value="LazSynEditText"/>
|
||||
</Item79>
|
||||
<Item80>
|
||||
<Filename Value="lazsyntextarea.pp"/>
|
||||
<UnitName Value="LazSynTextArea"/>
|
||||
</Item80>
|
||||
<Item81>
|
||||
<Filename Value="lazsyneditmousecmdstypes.pp"/>
|
||||
<UnitName Value="LazSynEditMouseCmdsTypes"/>
|
||||
</Item81>
|
||||
<Item82>
|
||||
<Filename Value="synhighlighterpo.pp"/>
|
||||
<UnitName Value="SynHighlighterPo"/>
|
||||
</Item82>
|
||||
<Item83>
|
||||
<Filename Value="lazsynimm.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="LazSynIMM"/>
|
||||
</Item83>
|
||||
</Files>
|
||||
<LazDoc Paths="docs/xml"/>
|
||||
<i18n>
|
||||
@ -380,16 +360,13 @@ If you wish to allow use of your version of these files only under the terms of
|
||||
<OutDir Value="languages"/>
|
||||
</i18n>
|
||||
<Type Value="RunAndDesignTime"/>
|
||||
<RequiredPkgs Count="3">
|
||||
<RequiredPkgs Count="2">
|
||||
<Item1>
|
||||
<PackageName Value="IDEIntf"/>
|
||||
<PackageName Value="LCL"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<PackageName Value="LCL"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<PackageName Value="LazUtils"/>
|
||||
</Item3>
|
||||
</Item2>
|
||||
</RequiredPkgs>
|
||||
<UsageOptions>
|
||||
<UnitPath Value="$(PkgOutDir)"/>
|
||||
|
Loading…
Reference in New Issue
Block a user