Some function parameters hints and changed error message.
This commit is contained in:
parent
e56ecc474d
commit
deab189375
@ -3603,7 +3603,7 @@ procedure TScriptEditor.ScripterCompileError(Sender: TObject;
|
|||||||
var msg: string; row, col: Integer; var ShowException: Boolean);
|
var msg: string; row, col: Integer; var ShowException: Boolean);
|
||||||
begin
|
begin
|
||||||
Editor.ActiveLine := row - 1;
|
Editor.ActiveLine := row - 1;
|
||||||
Console.Lines.Add(msg);
|
Console.Lines.Add('Line '+IntToStr(row)+' : '+msg);
|
||||||
ScriptRenderForm.Close;
|
ScriptRenderForm.Close;
|
||||||
btnRun.Enabled := True;
|
btnRun.Enabled := True;
|
||||||
btnStop.Enabled := False;
|
btnStop.Enabled := False;
|
||||||
@ -3612,6 +3612,7 @@ begin
|
|||||||
MainForm.mnuRun.Enabled := True;
|
MainForm.mnuRun.Enabled := True;
|
||||||
MainForm.mnuStop.Enabled := False;
|
MainForm.mnuStop.Enabled := False;
|
||||||
btnBreak.Enabled := False;
|
btnBreak.Enabled := False;
|
||||||
|
ShowException := true;
|
||||||
Application.ProcessMessages;
|
Application.ProcessMessages;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user