mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 16:59:11 +02:00
* print also interfaces in inheritance section, fixes 15774
git-svn-id: trunk@15875 -
This commit is contained in:
parent
aa1b3a6542
commit
14247ef2db
@ -2233,7 +2233,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure THTMLWriter.CreateIndexPage(L : TStringList);
|
procedure THTMLWriter.CreateIndexPage(L : TStringList);
|
||||||
|
|
||||||
Var
|
Var
|
||||||
Lists : Array['A'..'Z'] of TStringList;
|
Lists : Array['A'..'Z'] of TStringList;
|
||||||
@ -2819,6 +2819,7 @@ var
|
|||||||
CurVisibility: TPasMemberVisibility;
|
CurVisibility: TPasMemberVisibility;
|
||||||
i: Integer;
|
i: Integer;
|
||||||
s: String;
|
s: String;
|
||||||
|
ThisInterface,
|
||||||
ThisClass: TPasClassType;
|
ThisClass: TPasClassType;
|
||||||
HaveSeenTObject: Boolean;
|
HaveSeenTObject: Boolean;
|
||||||
begin
|
begin
|
||||||
@ -2853,7 +2854,7 @@ var
|
|||||||
begin
|
begin
|
||||||
for i:=0 to AClass.interfaces.count-1 do
|
for i:=0 to AClass.interfaces.count-1 do
|
||||||
begin
|
begin
|
||||||
AppendSym(CodeEl, ',');
|
AppendSym(CodeEl, ', ');
|
||||||
AppendHyperlink(CodeEl,TPasClassType(AClass.Interfaces[i]));
|
AppendHyperlink(CodeEl,TPasClassType(AClass.Interfaces[i]));
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -2962,6 +2963,15 @@ var
|
|||||||
TDEl['align'] := 'center';
|
TDEl['align'] := 'center';
|
||||||
CodeEl := CreateCode(CreatePara(TDEl));
|
CodeEl := CreateCode(CreatePara(TDEl));
|
||||||
AppendHyperlink(CodeEl, ThisClass);
|
AppendHyperlink(CodeEl, ThisClass);
|
||||||
|
if ThisClass.Interfaces.count>0 then
|
||||||
|
begin
|
||||||
|
for i:=0 to ThisClass.interfaces.count-1 do
|
||||||
|
begin
|
||||||
|
ThisInterface:=TPasClassType(ThisClass.Interfaces[i]);
|
||||||
|
AppendText(CodeEl,',');
|
||||||
|
AppendHyperlink(CodeEl, ThisInterface);
|
||||||
|
end;
|
||||||
|
end;
|
||||||
AppendShortDescrCell(TREl, ThisClass);
|
AppendShortDescrCell(TREl, ThisClass);
|
||||||
if HaveSeenTObject or (CompareText(ThisClass.Name, 'TObject') = 0) then
|
if HaveSeenTObject or (CompareText(ThisClass.Name, 'TObject') = 0) then
|
||||||
HaveSeenTObject := True
|
HaveSeenTObject := True
|
||||||
|
Loading…
Reference in New Issue
Block a user