class registration not needed for component streaming

This commit is contained in:
Basile Burg 2017-07-11 20:41:30 +02:00
parent 87e1f554b5
commit 0cc827bb2a
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
17 changed files with 2 additions and 32 deletions

View File

@ -1136,5 +1136,4 @@ end;
initialization initialization
setCEProjectCompiler(dmd); setCEProjectCompiler(dmd);
RegisterClasses([TCENativeProject]);
end. end.

View File

@ -293,12 +293,12 @@ type
function globToReg(const glob: string ): string; function globToReg(const glob: string ): string;
(** (**
* Detects the main indetation mode used in a file * Detects the main indentation mode used in a file
*) *)
function indentationMode(strings: TStrings): TIndentationMode; function indentationMode(strings: TStrings): TIndentationMode;
(** (**
* Detects the main indetation mode used in a file * Detects the main indentation mode used in a file
*) *)
function indentationMode(const fname: string): TIndentationMode; function indentationMode(const fname: string): TIndentationMode;
@ -1474,6 +1474,4 @@ begin
value := t + value[m..value.length]; value := t + value[m..value.length];
end; end;
initialization
registerClasses([TCEPersistentShortcut]);
end. end.

View File

@ -1016,6 +1016,4 @@ begin
Result := Integer(fTokKind); Result := Integer(fTokKind);
end; end;
initialization
registerClasses([TSynD2Syn]);
end. end.

View File

@ -327,7 +327,5 @@ begin
end; end;
{$ENDREGION} {$ENDREGION}
initialization
RegisterClasses([TCEDmtWrapper]);
end. end.

View File

@ -1645,7 +1645,4 @@ begin
end; end;
{$ENDREGION} {$ENDREGION}
initialization
RegisterClasses([TOtherOpts, TPathsOpts, TDebugOpts, TOutputOpts, TMsgOpts,
TDocOpts, TCompileProcOptions, TProjectRunOptions, TCompilerConfiguration]);
end. end.

View File

@ -763,7 +763,6 @@ end;
{$ENDREGION} {$ENDREGION}
initialization initialization
RegisterClasses([TCEEditorOptionsBase, TCEEditorOptions]);
EditorOptions := TCEEditorOptions.Create(nil); EditorOptions := TCEEditorOptions.Create(nil);
finalization finalization

View File

@ -3693,7 +3693,4 @@ begin
end; end;
{$ENDREGION} {$ENDREGION}
initialization
registerClasses([TCEPersistentMainShortcuts, TCEPersistentMainMrus,
TCELastDocsAndProjs, TCEApplicationOptionsBase, TCEApplicationOptions]);
end. end.

View File

@ -729,6 +729,4 @@ begin
end; end;
{$ENDREGION} {$ENDREGION}
initialization
RegisterClasses([TCEMiniExplorerOptions]);
end. end.

View File

@ -241,6 +241,4 @@ begin
Insert(0, fname); Insert(0, fname);
end; end;
initialization
RegisterClasses([TCEMRUList, TCEMRUFileList, TCEMRUProjectList, TCEMRUDocumentList]);
end. end.

View File

@ -580,6 +580,4 @@ begin
end; end;
{$ENDREGION} {$ENDREGION}
initialization
RegisterClasses([TCESearchOptions]);
end. end.

View File

@ -451,7 +451,6 @@ end;
{$ENDREGION} {$ENDREGION}
initialization initialization
RegisterClasses([TShortcutItem, TShortCutCollection]);
CEShortcutEditor := TCEShortcutEditor.Create(nil); CEShortcutEditor := TCEShortcutEditor.Create(nil);
finalization finalization
CEShortcutEditor.Free; CEShortcutEditor.Free;

View File

@ -398,7 +398,6 @@ end;
{$ENDREGION} {$ENDREGION}
initialization initialization
RegisterClasses([TStaticMacrosOptions]);
StaticEditorMacro := TCEStaticEditorMacro.create(nil); StaticEditorMacro := TCEStaticEditorMacro.create(nil);
finalization finalization
StaticEditorMacro.Free;; StaticEditorMacro.Free;;

View File

@ -861,6 +861,4 @@ begin
end; end;
{$ENDREGION --------------------------------------------------------------------} {$ENDREGION --------------------------------------------------------------------}
initialization
RegisterClasses([TCESymbolListOptions]);
end. end.

View File

@ -3439,7 +3439,6 @@ initialization
TCEEditorHintWindow.FontSize := 10; TCEEditorHintWindow.FontSize := 10;
// //
RegisterKeyCmdIdentProcs(@CustomStringToCommand, @CustomCommandToSstring); RegisterKeyCmdIdentProcs(@CustomStringToCommand, @CustomCommandToSstring);
RegisterClasses([TCESynMemoCache, TCEFoldCache]);
finalization finalization
D2Syn.Free; D2Syn.Free;
LfmSyn.Free; LfmSyn.Free;

View File

@ -664,6 +664,4 @@ begin
end; end;
{$ENDREGION} {$ENDREGION}
initialization
RegisterClasses([TCETodoOptions]);
end. end.

View File

@ -431,7 +431,6 @@ end;
{$ENDREGION} {$ENDREGION}
initialization initialization
RegisterClasses([TCEToolItem, TCETools]);
CustomTools := TCETools.create(nil); CustomTools := TCETools.create(nil);
finalization finalization
CustomTools.Free; CustomTools.Free;

View File

@ -199,6 +199,4 @@ begin
end; end;
{$ENDREGION} {$ENDREGION}
initialization
registerClasses([TCustomWritableComponent, TWritableLfmTextComponent, TWritableJsonComponent]);
end. end.