Revision: 1921 http://geany.svn.sourceforge.net/geany/?rev=1921&view=rev Author: ntrel Date: 2007-10-01 03:52:56 -0700 (Mon, 01 Oct 2007)
Log Message: ----------- Show parent class for inner classes.
Modified Paths: -------------- trunk/ChangeLog trunk/tagmanager/python.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-09-28 17:06:09 UTC (rev 1920) +++ trunk/ChangeLog 2007-10-01 10:52:56 UTC (rev 1921) @@ -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:
Modified: trunk/tagmanager/python.c =================================================================== --- trunk/tagmanager/python.c 2007-09-28 17:06:09 UTC (rev 1920) +++ trunk/tagmanager/python.c 2007-10-01 10:52:56 UTC (rev 1921) @@ -177,7 +177,11 @@ 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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.