Index of /lingo/lsw/editor_lingo_support/NotePad++

Icon  Name                             Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] lingo.xml 2016-07-09 05:12 17K [IMG] screenshot.png 2016-07-09 03:43 76K [TXT] readme.txt 2016-07-09 01:59 1.1K
To add Lingo support to Notepad++, the following steps are required:

- Download file "lingo.xml".

- In Notepad++, select Menu->Language->Define your language...

- Press button "Import..." and select the downloaded "lingo.xml".

- Restart Notepad++.

- Done.


If you also want the "Function List" panel (quite useful, allows quick navigation in large lingo/LSW
scripts) to work properly, the following additional steps are required:

- Open file "functionList.xml" (depending on your Notepad++ installation type, either found in 
%APPDATA%\notepad++\ or the Notepad++ installation directory) in an text editor (like e.g. Notepad++).

- Add the following line to the <associationMap> section:

  <association userDefinedLangName="Lingo" id="lingo_function"/>

- Add the following snippet to the <parsers> section:

  <parser id="lingo_function" displayName="Lingo" commentExpr="">
    <function mainExpr="^on[\s]+[\w_]*[\s]*[\w_\(\),]*.*?$" displayMode="$functionName">
      <functionName>
        <nameExpr expr="on[\s]+\K([\w_]+)"/>
      </functionName>
    </function>
  </parser>

- Restart Notepad++.

- Done.