mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 22:04:56 -06:00
Fix in Ide HelpWindow
git-svn-id: svn://ultimatepp.org/upp/trunk@451 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fb1f2841fd
commit
42e2db2d29
1 changed files with 1 additions and 8 deletions
|
|
@ -135,7 +135,6 @@ void TopicCtrl::ScanDirForTpp(const char *dir, Index<String>& li, Vector<int>& s
|
|||
VectorMap<String, VectorMap<String, Vector<String> > >& map,
|
||||
const String& rel)
|
||||
{
|
||||
DLOG("a");
|
||||
TopicLink tl;
|
||||
for(FindFile pff(AppendFileName(dir, "*.*")); pff; pff.Next()) {
|
||||
if(pff.IsFolder() && *pff.GetName() != '.') {
|
||||
|
|
@ -145,7 +144,6 @@ void TopicCtrl::ScanDirForTpp(const char *dir, Index<String>& li, Vector<int>& s
|
|||
if(ff.IsFolder()) {
|
||||
tl.group = GetFileTitle(ff.GetName());
|
||||
String dir = AppendFileName(pdir, ff.GetName());
|
||||
DDUMP(dir);
|
||||
for(FindFile ft(AppendFileName(dir, "*.tpp")); ft; ft.Next())
|
||||
if(ft.IsFile()) {
|
||||
tl.topic = GetFileTitle(ft.GetName());
|
||||
|
|
@ -156,18 +154,15 @@ void TopicCtrl::ScanDirForTpp(const char *dir, Index<String>& li, Vector<int>& s
|
|||
li.FindAdd(l);
|
||||
}
|
||||
String link = TopicLinkString(tl);
|
||||
DDUMP(ft.GetName());
|
||||
DDUMP(link);
|
||||
if(idelink.Find(link) < 0 && MatchTopicLink(link, sdx) &&
|
||||
(lng == "All" || lng == l)) {
|
||||
map.GetAdd(tl.package).GetAdd(tl.group).GetAdd(tl.topic);
|
||||
map.GetAdd(tl.package).GetAdd(tl.group).Add(tl.topic);
|
||||
}
|
||||
}
|
||||
}
|
||||
ScanDirForTpp(pdir, li, sdx, lng, map, tl.package + '/');
|
||||
}
|
||||
}
|
||||
DLOG("b");
|
||||
}
|
||||
|
||||
void TopicCtrl::SyncDocTree()
|
||||
|
|
@ -231,8 +226,6 @@ void TopicCtrl::SyncDocTree()
|
|||
for(int i = 0; i < group.GetCount(); i++) {
|
||||
tl.topic = group[i];
|
||||
String p = TopicLinkString(tl);
|
||||
DUMP(tl.package);
|
||||
DUMP(p);
|
||||
String t = GetTopicTitle(p);
|
||||
AddTree(gid, TopicImg::Topic(), p, t);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue