A Qt5 designer widget plugin for syntax highlighting and editing G-code:
Based upon QPlainTextEdit, with added comment and syntax highlighting plus line highlighting for use showing currently executing line in a GUI.
To use clone and build with:
gh repo clone QGCoder/libqgcodeeditor && cd libqgcodeeditor
qmake && make -j$(nproc)
sudo make install
To run one of the examples:
cd examples
qmake && make
./simple/simple
./contextMenu/contextMenu
A benchmark can be found in examples/pipe/.