mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 10:55:55 +02:00
IDE: messages window: on linking error make all low urgency messages in front important
git-svn-id: trunk@53072 -
This commit is contained in:
parent
5b8ab452ee
commit
02b83950b4
@ -1634,6 +1634,17 @@ var
|
|||||||
i: Integer;
|
i: Integer;
|
||||||
MsgLine: TMessageLine;
|
MsgLine: TMessageLine;
|
||||||
begin
|
begin
|
||||||
|
// change all low urgency messages in front of the last message to Important
|
||||||
|
i:=Tool.WorkerMessages.Count-1;
|
||||||
|
while i>=0 do begin
|
||||||
|
MsgLine:=Tool.WorkerMessages[i];
|
||||||
|
if MsgLine.Urgency<mluHint then
|
||||||
|
MsgLine.Urgency:=mluImportant
|
||||||
|
else
|
||||||
|
break;
|
||||||
|
dec(i);
|
||||||
|
end;
|
||||||
|
|
||||||
// add all skipped lines in front of the linking error
|
// add all skipped lines in front of the linking error
|
||||||
i:=Tool.WorkerMessages.Count-1;
|
i:=Tool.WorkerMessages.Count-1;
|
||||||
if i<0 then exit;
|
if i<0 then exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user