:# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:file issrc-main\Projects\CompForm.pas
:from
if MsgBox('The generated GUID will be inserted into the editor at the cursor position. Continue?',
SCompilerFormCaption, mbConfirmation, MB_YESNO) = IDYES then
:to
// [patch-id]
//if MsgBox('The generated GUID will be inserted into the editor at the cursor position. Continue?',
//SCompilerFormCaption, mbConfirmation, MB_YESNO) = IDYES then
:from
if MsgBox(S, 'Terminate', mbConfirmation, MB_YESNO or MB_DEFBUTTON2) <> IDYES then
Exit;
:to
//if MsgBox(S, 'Terminate', mbConfirmation, MB_YESNO or MB_DEFBUTTON2) <> IDYES then
//Exit;
:from
Changed: Boolean;
:to
Changed: Boolean;
I:Integer;
WaitedTime:Cardinal;
:from
if MsgBox(Format(ReloadMessages[Memo.Modified], [Memo.Filename]),
SCompilerFormCaption, mbConfirmation, MB_YESNO) = IDYES then
:to
//if MsgBox(Format(ReloadMessages[Memo.Modified], [Memo.Filename]),
//SCompilerFormCaption, mbConfirmation, MB_YESNO) = IDYES then
:from
OpenFile(Memo, Memo.Filename, False);
:to
OpenFile(Memo, Memo.Filename, False);
StatusBar.Panels[6].Text := '文件重新加载完成。。。';
WaitedTime:=0;
while (WaitedTime < 3500) do
begin
SleepEx(100,False);
Inc(WaitedTime,100);
Application.ProcessMessages ;
end;
StatusBar.Panels[6].Text := '';
:done