This writes the dimensions and positions of the code_viewer to a file config.txt whenever the code_viewer is opened.
I also made some changes so it is definitely impossible to move or resize the windows, on my laptop using Windows 10 I was able to resize it but the changes removed the border and made it impossible to resize by dragging the edges. However this also makes it so the config file isn't very useful, since the values written to it should always be the same.
It also changed the keywords of the highlighting so it will work with Java keywords instead of C++ keywords.
This writes the dimensions and positions of the code_viewer to a file config.txt whenever the code_viewer is opened. I also made some changes so it is definitely impossible to move or resize the windows, on my laptop using Windows 10 I was able to resize it but the changes removed the border and made it impossible to resize by dragging the edges. However this also makes it so the config file isn't very useful, since the values written to it should always be the same. It also changed the keywords of the highlighting so it will work with Java keywords instead of C++ keywords.