I am not sure if this has been demonstrated before, sorry if its a double post.
I just found out how to use the function list on NPP after much searching, and I didn't really find anything well documented. Here is how I did it on v6.7.9.2:
1. Open functionList.xml in Notepad++ directory ( if editing this file doesn't work, also edit the one in AppData\Roaming\Notepad++ ).
2. Underneath were it says <associationMap> is should look something like this:
Spoiler
PHP Code:
<association langID="1" id="php_function"/>
<association langID="2" id="c_function"/>
<association langID="3" id="c_cpp_function"/>
<association langID="4" id="cs_function"/>
<association langID="6" id="java"/>
<association langID="9" id="xml_node"/>
<association langID="12" id="batch_label"/>
<association langID="13" id="ini_section"/>
<association langID="19" id="js_function"/>
<association langID="21" id="perl_function"/>
<association langID="22" id="python_function"/>
<association langID="26" id="bash_function"/>
<association langID="28" id="nsis_syntax"/>
Add this at the end ( if your user defined language name is not CS, change that field to the corresponding name )
PHP Code:
<association userDefinedLangName="CS" id="pawn_function"/>
Then at the end of the code, right before </parsers> add this:
Spoiler
PHP Code:
<parser id="pawn_function" displayName="Pawn SMA" commentExpr="((/\*.*?\*)/|(//.*?$))">
<function
mainExpr="^[\t ]*((public|stock|static)[\s]+)?(?!(if|while|for|switch|do))[:_A-Za-z0-9]+\s*\(["\s\[\]=,:_A-Za-z0-9]*\s*\)[\n\s]*\{"
displayMode="$functionName">
<functionName>
<nameExpr expr="[_A-Za-z0-9]+\s*\("/>
<nameExpr expr="[_A-Za-z0-9]+"/>
</functionName>
</function>
</parser>
So far this has worked with every function I have in the plugins I've downloaded/made, but it might be missing some exceptions. If there are more code statements that I forgot, they can be added here: (if|while|for|switch|do|STATEMENT). Any other character in function names can be added to the pink part of the code below inside the brakets, and characters inside the parenthesis to the code in orange: