-
Notifications
You must be signed in to change notification settings - Fork 3
Navigating the screen
Several function keys have been provided to help format and manipulate snippets.
-
F6
- Insert a new line after the current cursor location, and move the cursor to that line -
F14
- Delete the line the cursor is currently on -
F15
- Split the line the cursor is currently on, moving text to the right of the cursor to a new line
Function key F1
is used to show extended results, where there is not enough space to show the full result on the main REPL screen.
New snippets are created with 51 lines available for editing. Pressing enter at any time will add or remove lines to ensure that there are always 51 blank lines available in REPL.
The current snippet can be cleared by taking F5
. This will permanently remove the existing snippet, and return REPL to displaying an empty snippet.
Exiting REPL will store the current snippet as an "unsaved snippet". This will still be accessible if you reopen REPL within the same session. If you reopen a snippet in this way and make changes, the original snippet will be lost.
You can choose to save individual snippets which you do not wish to be changed by taking F21
, and adding a suitable name for the snippet.
F21
also provides the option to load snippets. Initially, you are shown a list of your saved snippets. It is possible from here to view saved snippets belonging to other users, or all unsaved snippets. A short preview of the snippet is shown on screen, along with the date the snippet was created.
From here, individual snippets can be loaded to the current session, or deleted entirely. Other users snippets can be viewed and loaded, but you are only able to delete your own snippets.
When entering fixed format code, you can add an on-screen ruler by taking F4
. This will display a temporary column guide which will be cleared before evaluation.