Show parent class for inner classes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1921 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2007-10-01 10:52:56 +00:00
parent 74727e051d
commit 4ef7e0c7eb
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Show parent class for inner classes.
2007-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:

View File

@ -177,7 +177,11 @@ static void findPythonTags (void)
newclass->name = g_strdup(vStringValue(name));
newclass->indent = indent;
parents = g_list_append(parents, newclass);
makeSimpleTag (name, PythonKinds, K_CLASS);
if (lastclass == NULL)
makeSimpleTag (name, PythonKinds, K_CLASS);
else
makeSimpleScopedTag (name, PythonKinds, K_CLASS,
PythonKinds[K_CLASS].name, lastclass->name, "public");
vStringClear (name);
lastclass = newclass;