Some things that need attention in the Gcode Editor
1. Thee NEEDS to be dedicated directories for things like Gcode. Example for the default Gcode directory " C:\UCcnc\Gcodes " The editor needs to point to the default directory on load AND auto save to the default directory on save UNLESS you redirect it from the editor.
This prevents scattering file all over the PC/Network that I have to go find for everyone.
2. IF there is no active Gcode loaded then editor need to open with an empty file. You create the program then on save it requires a NEW NAME to save to AND save to the Default DIR AND auto load the new file into UCcnc ready to run.
3. On save it should do an auto save to the default DIR unless you chose differently with Save AS .
4. When a file is loaded there needs to be a a line number reference on the left hand side of the gcode listing.
5. THERE IS NO cut and paste ????
6.It needs to highlight NON GCODE words like teh Gcode window does , that is nice.
7. It would be NICE to have a TEST function that you could run from inside the editor to DEBUG teh code, Just run it thru the pretest that the LOAD gcode function does to test the code. ONLY do this from inside of the editor, Push a button ,test the code. THEN fix any problem BEFORE you leave the editor.
8. ON SAVE Check the end of file for a LFchar and if it does NOT have one ADD one. (;-) or just add a % if there is not one.
9. The exit button needs to be renamed to EXIT_ Save to reflect that it does BOTH.