HI all. I wrote a Gcode lexer for Notepad++ text editor.
The plugin itself is made by two files :
gcodelexer.dll : the plugin.
gcodelexer.xml : plugin configuration file.
To install do this :
1) Close Notepad++ if it's opened.
2) Copy gcodelexer.dll in "plugins" folder under Notepad++ installation directory. Usually Notepad++ is
installed under "C:\Program Files (x86)\Notepad++". Plgins folder il located there.
3) Copy gcodelexer.xml under C:\Users\USER_NAME\AppData\Roaming\Notepad++\plugi ns\Config folder.
Obviously USER_NAME is the name of the currently logged user.
To remove the plugin, delete gcodelexer.dll and gcodelexer.xml from your system.
To activate syntax highlighting there are two ways :
1) Automatically, if you load a file with .cnc or .nc extension.
2) Manually, choosing the language from Notepad++ "Language" menu. The name to search for is "GCODE".
Playing with "Settings" --> "Style Configurator" ---> "Gcode Lexer" menu option, one can change the visual attributes
used by the lexer.
The plugin has been tested with Notepad++ 6.8.8
Happy editing.
Sandro