I been using a editor plugin that uses the same text editing component (Scintilla) as Notepad++, thanks to jacobslusser it now can be used in Net framework and made it possible to create this plugin.
The plugin has 5 window tabs and will open with the Gcode Editor tab and load whatever gcode file is loaded in UCCNC, if the file is edited and saved it will reload it in UCCNC. The same why the editor works supplied with UCCNC. The plugin uses 2 lexer/styles, Gcode lexer for Gcode Editor and Cpp/UCCNC for Macro Editor.
You can open a file and will load in the tabbed window that's active(open).
The Macro Editor has a few more added features such as...
1. Code Folding
2. Bookmarks
3. Brace matching
4. Auto Complete
5. Macro Test
To use Macro test the Macro file has to have the correct Macro format M#### and exist in your profile macro folder. If there's and error on test it will add a bookmark to line with error, you can also look in
error log tab to see error. UCCNC is put in offline mode while testing macro.
The UCCNC.htm, Error Log and Reference tabs are read only windows, the Reference Tab when open can open a file and be copied from to paste in the Gcode or Macro windows. The lexer/stylers are set to my preference, If I see an interested or request I will add a preference window to edit styles.
The Zip has 2 files.
1. Gcode_Macro Editor (this in UCCNC plugin folder)
2. ScintillaNET (this in your UCCNC folder)
****WARNING do not enable this plugin without the ScintillaNET.dll in UCCNC directory or will cause a error on UCCNC start up!****
This will only work in Net.4 UCCNC test versions
To use create a button with #5411 or Hotkey with function #5411 or change your edit button from 126 to 5411