mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 06:09:30 +02:00
MG: fixed resetting error line before compiling
git-svn-id: trunk@1462 -
This commit is contained in:
parent
f9441128e2
commit
b14c8d2507
@ -4319,11 +4319,13 @@ end;
|
||||
|
||||
function TMainIDE.DoRunExternalTool(Index: integer): TModalResult;
|
||||
begin
|
||||
SourceNotebook.ClearErrorLines;
|
||||
Result:=EnvironmentOptions.ExternalTools.Run(Index,MacroList);
|
||||
end;
|
||||
|
||||
function TMainIDE.DoBuildLazarus: TModalResult;
|
||||
begin
|
||||
SourceNotebook.ClearErrorLines;
|
||||
Result:=BuildLazarus(MiscellaneousOptions.BuildLazOpts,
|
||||
EnvironmentOptions.ExternalTools,MacroList);
|
||||
end;
|
||||
@ -6027,6 +6029,9 @@ end.
|
||||
|
||||
{ =============================================================================
|
||||
$Log$
|
||||
Revision 1.234 2002/02/25 22:56:55 lazarus
|
||||
MG: fixed resetting error line before compiling
|
||||
|
||||
Revision 1.233 2002/02/25 19:17:27 lazarus
|
||||
MG: fixed restore window positions
|
||||
|
||||
|
@ -356,6 +356,7 @@ type
|
||||
function SomethingModified: boolean;
|
||||
procedure UpdateStatusBar;
|
||||
Procedure ClearUnUsedEditorComponents(Force: boolean);
|
||||
procedure ClearErrorLines;
|
||||
|
||||
Procedure DisplayCodefromUnitName(const UnitName : String);
|
||||
|
||||
@ -3110,6 +3111,13 @@ begin
|
||||
ASynEdit.Highlighter:=Highlighters[lshFreePascal];
|
||||
end;
|
||||
|
||||
procedure TSourceNotebook.ClearErrorLines;
|
||||
var i: integer;
|
||||
begin
|
||||
for i:=0 to EditorCount-1 do
|
||||
Editors[i].ErrorLine:=-1;
|
||||
end;
|
||||
|
||||
|
||||
{ GOTO DIALOG}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user