Fix grouping functions/classes under a nested function.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3831 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2009-06-01 15:41:24 +00:00
parent 221b3fda3a
commit 34a67a9269
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,8 @@
Fix grouping symbol list children when parent name has "." character
in for reStructuredText and Conf filetypes (and any in the Misc
group).
* tagmanager/python.c:
Fix grouping functions/classes under a nested function.
2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -352,10 +352,13 @@ static boolean constructParentString(NestingLevels *nls, int indent,
break;
if (prev)
{
vStringCatS(result, "."); /* make Geany symbol list grouping work properly */
/*
if (prev->type == K_CLASS)
vStringCatS(result, ".");
else
vStringCatS(result, "/");
*/
}
vStringCat(result, nl->name);
is_class = (nl->type == K_CLASS);