1. Function list for Euphoria in Notepad++

http://i.imgur.com/YV37qow.png

I discovered how to add a Function List parser for Euphoria to Notepad++ (example to the right).

Just add these blocks to your %APPDATA%\Notepad++\functionList.xml file.

In the <associationMap> section...

<association userDefinedLangName="Euphoria" id="eu_function"/> 

In the <parsers> section...

<parser id="eu_function" displayName="Euphoria" commentExpr="((/\*.*?\*)/|(--.*?$))"> 
    <function 
        mainExpr="^[\s]*(public|global|export|override)?[\s*](function|procedure|routine)[\s]+\w+\("> 
        <functionName> 
            <nameExpr expr="(?!(if|while|for))[\w_]+[\s]*\("/> 
            <nameExpr expr="(?!(if|while|for))[\w_]+"/> 
        </functionName> 
        <className> 
            <nameExpr expr="[\w_]+(?=[\s]*:)"/> 
        </className> 
    </function> 
</parser> 

This is assuming you are already using the Euphoria User Defined Language files for Notepad++.

http://scm.openeuphoria.org/hg/editors/file/default/notepadplus/

-Greg

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu