kcjengr / qtpyvcp

QtPyVCP - Qt and Python based Virtual Control Panel framework for LinuxCNC.
https://www.qtpyvcp.com
Other
88 stars 49 forks source link

Editor enhance2 #35

Closed joco-nz closed 4 years ago

joco-nz commented 4 years ago

[1] application.py: Fixed font load loop. As exiting on a non 0 return to the font load. That return value is actually an index to the loaded font to allow later referencing if needed. An error is a -1 return. So made the test a < 0 assessment as 0+ is success.

[2] gcode_editor.py:

Hopefully all makes sense. Cheers, James.

KurtJacobson commented 4 years ago

This work was superseded by the new QPlainTextEdit based GcodeEditor.