Click or drag to resize

The code editor window in detail

Previous section: Keyboard shortcuts and commands


The figure below shows the code editor window with the default worksheet script.

  • On the very left of the code editor window there are the line numbers.

  • Furthermore, on the left side there are + buttons that can be used to toggle the folding of the script header and the script footer. More code will show up if you toggle this. It is intended for experienced users how want to add additional using statements, member variables etc. You can even add entire new methods or classes.

  • The info bar on the top shows the current class and the current method or property you are currently editing.

  • The list box on the bottom shows errors, warnings, or information concerning both the compiling of your code as well as errors during execution of the code.

On the right hand side there are four buttons, whose function will be described below:

  • the button OK will compile your code, and then execute it.

  • the button Compile will compile your code (but not execute it), so that you can check your code for errors without executing it.

  • the button Update will close this dialog while keeping your code changes, but without compiling and executing, so that when you next time opens the worksheet script, it will show the code as you have left it. Use this e.g. if your code currently not compiles, but you intend to keep the changes.

  • the button Cancel will close the dialog, but without keeping the changes you have made to the code.


Next section: Long running code