@phaedrux said in G-code Syntax Highlighting in Text Edit Windows:
@dc42 a quick google for in browser syntax highlighting brought up a few promising options.
Just found the same thing. It does have GCode listed as supported language and there also exists Vue Prism Editor to integrate it into the new UI based on Vue.
I would imagine tool usage times would be quite useful for certain tool types like cutting heads, or lasers, or what have you, where preventative maintenance may prescribe change out before failure or reduced effectiveness.
@patakopecek Yes, I can add it to DWC2-RC4.
There is already an app for Android which does an mDNS broadcast in order to discover Duet WiFi boards on the local network but once you select a machine, it only displays the web interface in a web view. mDNS support on the DuetM and Duet Ethernet still needs to be implemented.
I wouldn't mind having the pop-up window if it had three option buttons: run, edit, cancel.
The confirmation aspect is important though because running a macro at the wrong time can have damaging consequences.
@chrishamm I would try to include tooltips on gcodes (could be done on browser side) and gcode preview (could be done with three.js and some script that would convert the gcode to some supported format), I think a lot of work could be offloaded to browser or a separate running RPi (that would be a realllyyyy cool idea the more I think about it)