mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-11 15:20:35 +01:00
implemented stopping project on close project
git-svn-id: trunk@6273 -
This commit is contained in:
parent
d2d3030a60
commit
020ed4dbc7
10
ide/main.pp
10
ide/main.pp
@ -5533,8 +5533,13 @@ begin
|
||||
{$IFDEF IDE_VERBOSE}
|
||||
writeln('TMainIDE.DoCloseProject A');
|
||||
{$ENDIF}
|
||||
// close all loaded files
|
||||
{$IFDEF IDE_MEM_CHECK}CheckHeapWrtMemCnt('TMainIDE.DoCloseProject A');{$ENDIF}
|
||||
Result:=DebugBoss.DoStopProject;
|
||||
if Result<>mrOk then begin
|
||||
debugln('TMainIDE.DoCloseProject DebugBoss.DoStopProject failed');
|
||||
exit;
|
||||
end;
|
||||
// close all loaded files
|
||||
while SourceNotebook.NoteBook<>nil do begin
|
||||
Result:=DoCloseEditorFile(SourceNotebook.Notebook.PageCount-1,
|
||||
[cfProjectClosing]);
|
||||
@ -11006,6 +11011,9 @@ end.
|
||||
|
||||
{ =============================================================================
|
||||
$Log$
|
||||
Revision 1.795 2004/11/20 11:49:15 mattias
|
||||
implemented stopping project on close project
|
||||
|
||||
Revision 1.794 2004/11/20 11:20:05 mattias
|
||||
implemented creating classes at run time from any TComponent descendant
|
||||
|
||||
|
||||
@ -1575,10 +1575,10 @@ begin
|
||||
end;
|
||||
|
||||
if CharSetCoding = '*' then begin
|
||||
{if lfCharset=fcsISO_8859_2 then begin
|
||||
if lfCharset=fcs_ISO_8859_2 then begin
|
||||
CharSetRegistry:='iso8859';
|
||||
CharSetCoding:='2';
|
||||
end;}
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -8740,6 +8740,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.374 2004/11/20 11:49:15 mattias
|
||||
implemented stopping project on close project
|
||||
|
||||
Revision 1.373 2004/11/20 11:20:06 mattias
|
||||
implemented creating classes at run time from any TComponent descendant
|
||||
|
||||
|
||||
@ -1153,6 +1153,7 @@ const
|
||||
ANSI_CHARSET = 0;
|
||||
DEFAULT_CHARSET = 1;
|
||||
SYMBOL_CHARSET = 2;
|
||||
FCS_ISO_8859_2 = 3; // added for ISO_8859_2 under gtk
|
||||
MAC_CHARSET = 77;
|
||||
SHIFTJIS_CHARSET = 128;
|
||||
HANGEUL_CHARSET = 129;
|
||||
@ -2247,6 +2248,9 @@ end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.69 2004/11/20 11:49:15 mattias
|
||||
implemented stopping project on close project
|
||||
|
||||
Revision 1.68 2004/11/20 11:20:06 mattias
|
||||
implemented creating classes at run time from any TComponent descendant
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user