The gedit program in the appliance is lagging in compiling and executing codes. For example if I edit some code in a program, the compiler would compile the previous code for a few times before it updates to the latest code. How should I deal with this problem?
On default, gedit will automatically save your code for you every minute or so which is why you had to wait a bit before your new code works.
To save your code yourself, press 'CTRL + S' before compiling it.
You can check whether your latest code is saved by checking if there's an asterisk preceding your program title in gedit.