Explorar o código

* Add the main unit URL to the index, the fp IDE uses the index for context sensitive help.

git-svn-id: trunk@11911 -
marco %!s(int64=17) %!d(string=hai) anos
pai
achega
50de0679f2
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      utils/fpdoc/dw_htmlchm.inc

+ 4 - 0
utils/fpdoc/dw_htmlchm.inc

@@ -282,6 +282,10 @@ begin
     for i := 0 to Package.Modules.Count - 1 do
     for i := 0 to Package.Modules.Count - 1 do
     begin
     begin
       AModule := TPasModule(Package.Modules[i]);
       AModule := TPasModule(Package.Modules[i]);
+      ParentItem := Index.Items.NewItem;
+      ParentItem.Text := AModule.Name;
+      ParentItem.Local := Allocator.GetFilename(AModule, 0);
+
       //  classes
       //  classes
       for j := 0 to AModule.InterfaceSection.Classes.Count-1 do
       for j := 0 to AModule.InterfaceSection.Classes.Count-1 do
       begin
       begin