mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 05:59:28 +02:00
IDE: reduced verbosity
git-svn-id: trunk@14344 -
This commit is contained in:
parent
9525beef2a
commit
c949bf2178
@ -5462,7 +5462,9 @@ begin
|
||||
if ([ofProjectLoading,ofLoadHiddenResource]*OpenFlags=[]) then
|
||||
FormEditor1.ClearSelection;
|
||||
FormEditor1.CreateComponentInterface(NewComponent,true);
|
||||
{$IFDEF IDE_DEBUG}
|
||||
DebugLn('SUCCESS: streaming lfm="',LFMBuf.Filename,'"');
|
||||
{$ENDIF}
|
||||
AnUnitInfo.ComponentName:=NewComponent.Name;
|
||||
AnUnitInfo.ComponentResourceName:=AnUnitInfo.ComponentName;
|
||||
DesignerForm:=nil;
|
||||
@ -6716,7 +6718,9 @@ var ActiveSrcEdit: TSourceEditor;
|
||||
ACaption, AText: string;
|
||||
i: integer;
|
||||
begin
|
||||
//debugln('TMainIDE.DoCloseEditorFile A PageIndex=',IntToStr(PageIndex));
|
||||
{$IFDEF IDE_DEBUG}
|
||||
debugln('TMainIDE.DoCloseEditorFile A PageIndex=',IntToStr(PageIndex));
|
||||
{$ENDIF}
|
||||
Result:=mrCancel;
|
||||
GetUnitWithPageIndex(PageIndex,ActiveSrcEdit,ActiveUnitInfo);
|
||||
if ActiveUnitInfo=nil then begin
|
||||
@ -6777,7 +6781,9 @@ begin
|
||||
Project1.RemoveUnit(i);
|
||||
end;
|
||||
|
||||
{$IFDEF IDE_DEBUG}
|
||||
DebugLn('TMainIDE.DoCloseEditorFile end');
|
||||
{$ENDIF}
|
||||
Result:=mrOk;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user