Hello,
Please consider adding the following XML to functionList.xml. This code is a minimally modified version of Artfunkel's found in this discussion post:
http://sourceforge.net/p/notepad-plus/discussion/482781/thread/515001cd/
In associationMap section:
<association langID="22" id="python_function"/>
In parsers section:
<parser id="python_function" displayName="Python class" commentExpr="(#.*?$|'''.*?('''|\Z))">
<classRange mainExpr="(?<=^class ).*?(?=\n\S|\Z)">
<className>
<nameExpr expr="\w+(?=[\(|:])"/>
</className>
<function mainExpr="(?<=def ).+?(?=:)">
<functionName>
<funcNameExpr expr=".*"/>
</functionName>
</function>
</classRange>
<function mainExpr="(?<=def ).+?(?=:)">
<functionName>
<funcNameExpr expr=".*"/>
</functionName>
</function>
</parser>
Known caveats:
Uhm, I do not see a difference other than the id!?