mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 14:40:25 +02:00
ide: don't crash on trying to show a line for non-fpc message (bug #0014825)
git-svn-id: trunk@22210 -
This commit is contained in:
parent
3a0ad627a7
commit
63838ba0cf
@ -11366,8 +11366,10 @@ begin
|
||||
FileName:=ALine.Filename;
|
||||
CaretPos.x:=ALine.Column;
|
||||
CaretPos.y:=ALine.LineNumber;
|
||||
Result := Assigned(ALine.Parts);
|
||||
if not Result then
|
||||
Exit;
|
||||
ErrType:=FPCErrorTypeNameToType(ALine.Parts.Values['Type']);
|
||||
Result:=True;
|
||||
end;
|
||||
|
||||
function TMainIDE.DoJumpToCompilerMessage(Index:integer;
|
||||
|
Loading…
Reference in New Issue
Block a user