mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 16:41:26 +02:00
IDE: checked compiler warnings, clean up
git-svn-id: trunk@48223 -
This commit is contained in:
parent
21cfb7317b
commit
4502988873
@ -657,7 +657,12 @@ begin
|
||||
break;
|
||||
end;
|
||||
if Result = nil then // should never happen
|
||||
Result := AnUnitInfo.OpenEditorInfo[0];
|
||||
Result := AnUnitInfo.OpenEditorInfo[0]
|
||||
else begin
|
||||
if (WantedTopLine>0)
|
||||
and (AnUnitInfo.OpenEditorInfo[j].EditorComponent<>nil) then
|
||||
AnUnitInfo.OpenEditorInfo[j].EditorComponent.TopLine:=WantedTopLine;
|
||||
end;
|
||||
// ToDo: WantedTopLine
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user