diff --git a/ide/main.pp b/ide/main.pp index e7a43eb433..2df17d4a0e 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -17774,8 +17774,7 @@ begin end else begin DebugLn(['TMainIDE.OnPropHookShowMethod failed finding the method in code']); DoJumpToCodeToolBossError; - raise Exception.Create(lisUnableToShowMethod+' '+lisPleaseFixTheErrorInTheMessageWindow - ); + raise Exception.Create(lisUnableToShowMethod+' '+lisPleaseFixTheErrorInTheMessageWindow); end; end; @@ -17860,8 +17859,7 @@ end; This handler is called whenever a new component was added to a designed form and should be added to form source -------------------------------------------------------------------------------} -procedure TMainIDE.OnPropHookPersistentAdded(APersistent: TPersistent; - Select: boolean); +procedure TMainIDE.OnPropHookPersistentAdded(APersistent: TPersistent; Select: boolean); var RegComp: TRegisteredComponent; ADesigner: TDesigner; diff --git a/ideintf/propedits.pp b/ideintf/propedits.pp index 89550c87f5..098735d018 100644 --- a/ideintf/propedits.pp +++ b/ideintf/propedits.pp @@ -5316,8 +5316,7 @@ begin TPropHookComponentRenamed(FHandlers[htComponentRenamed][i])(AComponent); end; -procedure TPropertyEditorHook.PersistentAdded(APersistent: TPersistent; - Select: boolean); +procedure TPropertyEditorHook.PersistentAdded(APersistent: TPersistent; Select: boolean); var i: Integer; begin