Fixed file reloading when the interpreter is not idle.
When changed the file will be reloaded only if its idle. Till now, a file update would stop the program and load a new file.
Fixed saving the content of a file in gcodefile editor. This prevents saving to the wrong file.
Added setProgramView() and setProgramViewWhenLoadingProgram() in the vtk. This will zoom and center the vtk in the middle of the program bounds. When the second one is called, the setProgramView() will be called automatically on a program load.
Fixed file reloading when the interpreter is not idle. When changed the file will be reloaded only if its idle. Till now, a file update would stop the program and load a new file. Fixed saving the content of a file in gcodefile editor. This prevents saving to the wrong file. Added setProgramView() and setProgramViewWhenLoadingProgram() in the vtk. This will zoom and center the vtk in the middle of the program bounds. When the second one is called, the setProgramView() will be called automatically on a program load.