synedit: simplified register, made syneditdsgn designtime

This commit is contained in:
mattias 2022-01-06 12:44:10 +01:00
parent 5c44c3b487
commit 384eda71d8
2 changed files with 36 additions and 39 deletions

View File

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<CONFIG> <CONFIG>
<Package Version="4"> <Package Version="5">
<Name Value="SynEditDsgn"/> <Name Value="SynEditDsgn"/>
<Type Value="DesignTime"/>
<Author Value="Lazarus Team, SynEdit"/> <Author Value="Lazarus Team, SynEdit"/>
<CompilerOptions> <CompilerOptions>
<Version Value="11"/> <Version Value="11"/>
@ -9,9 +10,6 @@
<UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> <UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
</SearchPaths> </SearchPaths>
<Other> <Other>
<Verbosity>
<ShowGenInfo Value="False"/>
</Verbosity>
<CompilerMessages> <CompilerMessages>
<IgnoredMessages idx5024="True" idx4055="True"/> <IgnoredMessages idx5024="True" idx4055="True"/>
</CompilerMessages> </CompilerMessages>
@ -24,7 +22,7 @@ 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."/> 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 <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 &quot;License&quot;); 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/ SynEdit and all it&apos;s units are subject to the Mozilla Public License Version 1.1 (the &quot;License&quot;); 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 &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. Software distributed under the License is distributed on an &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
@ -55,12 +53,12 @@ If you wish to allow use of your version of these files only under the terms of
<UnitName Value="allsyneditdsgn"/> <UnitName Value="allsyneditdsgn"/>
</Item5> </Item5>
</Files> </Files>
<CompatibilityMode Value="True"/>
<LazDoc Paths="docs/xml"/> <LazDoc Paths="docs/xml"/>
<i18n> <i18n>
<EnableI18N Value="True"/> <EnableI18N Value="True"/>
<OutDir Value="../languages"/> <OutDir Value="../languages"/>
</i18n> </i18n>
<Type Value="RunAndDesignTime"/>
<RequiredPkgs Count="2"> <RequiredPkgs Count="2">
<Item1> <Item1>
<PackageName Value="IDEIntf"/> <PackageName Value="IDEIntf"/>

View File

@ -220,43 +220,42 @@ end;
procedure Register; procedure Register;
begin begin
RegisterUnit('SynGutter',@RegisterSynGutter); RegisterSynGutter;
RegisterUnit('SynGutterCodeFolding',@RegisterSynGutterCodeFolding); RegisterSynGutterCodeFolding;
RegisterUnit('SynGutterLineNumber',@RegisterSynGutterLineNumber); RegisterSynGutterLineNumber;
RegisterUnit('SynGutterChanges',@RegisterSynGutterChanges); RegisterSynGutterChanges;
RegisterUnit('SynGutterMarks',@RegisterSynGutterMarks); RegisterSynGutterMarks;
RegisterUnit('SynEdit',@RegisterSynEdit); RegisterSynEdit;
RegisterUnit('SynMemo',@RegisterSynMemo); RegisterSynMemo;
RegisterUnit('SynCompletion',@RegisterSynCompletion); RegisterSynCompletion;
RegisterUnit('SynMacroRecorder',@RegisterSynMacroRecorder); RegisterSynMacroRecorder;
RegisterUnit('SynExportHTML',@RegisterSynExportHTML); RegisterSynExportHTML;
RegisterUnit('SynPluginSyncroEdit',@RegisterSynSyncroEdit); RegisterSynSyncroEdit;
RegisterUnit('SynHighlighterPas',@RegisterSynHighlighterPas); RegisterSynHighlighterPas;;
RegisterUnit('SynHighlighterCPP',@RegisterSynHighlighterCPP); RegisterSynHighlighterCPP;
RegisterUnit('SynHighlighterJava',@RegisterSynHighlighterJava); RegisterSynHighlighterJava;
RegisterUnit('SynHighlighterJScript',@RegisterSynHighlighterJScript); RegisterSynHighlighterJScript;
RegisterUnit('SynHighlighterPerl',@RegisterSynHighlighterPerl); RegisterSynHighlighterPerl;
RegisterUnit('SynHighlighterHTML',@RegisterSynHighlighterHTML); RegisterSynHighlighterHTML;
RegisterUnit('SynHighlighterXML',@RegisterSynHighlighterXML); RegisterSynHighlighterXML;
RegisterUnit('SynHighlighterLFM',@RegisterSynHighlighterLFM); RegisterSynHighlighterLFM;
RegisterUnit('SynHighlighterDiff',@RegisterSynHighlighterDiff); RegisterSynHighlighterDiff;
RegisterUnit('SynHighlighterUNIXShellScript', RegisterSynHighlighterUNIXShellScript;
@RegisterSynHighlighterUNIXShellScript); RegisterSynHighlighterCSS;
RegisterUnit('SynHighlighterCss',@RegisterSynHighlighterCSS); RegisterSynHighlighterPHP;
RegisterUnit('SynHighlighterPHP',@RegisterSynHighlighterPHP); RegisterSynHighlighterTeX;
RegisterUnit('SynHighlighterTeX',@RegisterSynHighlighterTeX); RegisterSynHighlighterSQL;
RegisterUnit('SynHighlighterSQL',@RegisterSynHighlighterSQL); RegisterSynHighlighterPython;
RegisterUnit('SynHighlighterPython',@RegisterSynHighlighterPython); RegisterSynHighlighterVB;
RegisterUnit('SynHighlighterVB',@RegisterSynHighlighterVB);
RegisterUnit('SynHighlighterAny',@RegisterSynHighlighterAny); RegisterSynHighlighterAny;
RegisterUnit('SynHighlighterMulti',@RegisterSynHighlighterMulti); RegisterSynHighlighterMulti;
RegisterUnit('SynHighlighterBat',@RegisterSynHighlighterBat); RegisterSynHighlighterBat;
RegisterUnit('SynHighlighterIni',@RegisterSynHighlighterIni); RegisterSynHighlighterIni;
RegisterUnit('SynHighlighterPo',@RegisterSynHighlighterPo); RegisterSynHighlighterPo;
RegisterClasses([TSynGutterPartList, TSynGutterSeparator, TSynGutterCodeFolding, RegisterClasses([TSynGutterPartList, TSynGutterSeparator, TSynGutterCodeFolding,
TSynGutterLineNumber, TSynGutterChanges, TSynGutterMarks]); TSynGutterLineNumber, TSynGutterChanges, TSynGutterMarks]);