1.6 Appendix: Important commands and keyboard shortcuts

1.6.1 File operation commands

Operation Keys Description Menu item
New BETA Program Ctrl+N Create a new BETA program File -> New BETA Program
Open file Ctrl+O Open a BETA file File -> Open
Save file Ctrl+S Saves the current open file on disk File -> Save
Print Ctrl+P Print your code File -> Print
Quit Mjolner Tool Ctrl+Q Of course, you wouldn't want to, but sometimes it is necessary to stop the fun. File -> Quit

1.6.2 General navigation and editing commands

Operation Keys Mouse/Button Description Menu item
Re-prettyprint F5   Redraws the code if something has gone awry View -> Reprettyprint
Overview Alt+Up   Abstract the code around the current selection View -> Overview
Detail

Show definition

Show code
Alt+Right Double click
or

[545 bytes 48x39 PNG]
This command has a number of different meanings depending on the current selection. Show more details around the current selection, find the definition of a name, open or close a comment View -> Detail

View -> Follow Semantic Link

View->Follow Link to SLOT
Abstract Recursively Alt+Left   Abstract the current selection View -> Abstract Recursively
Detail Recursively Alt+Down   Detail the current selection until nothing remains abstract in it View -> Detail Recursively
To slotF3 [749 bytes 48x39 PNG] Search through the chain of ORIGINs looking for a SLOT matching the fragment form View-> Follow Link to SLOT
BackCtrl+Left [585 bytes 48x39 PNG] Go back to where you were before, e.g. before you pressed Show Definition and jumped to the definition History->Back
ForwardCtrl+Right
[591 bytes 48x39 PNG]
The oppposite of Back History->Forward
Append empty codeEnter   Append "empty code" to the current selection Edit->Insert After
Prepend empty codeCtrl+Enter   Prepend "empty code" to the current selection Edit -> Insert Before
Paste beforeInsert   Prepend the contents of the clipboard to the current selection Edit-> Paste Before
Paste AfterCtrl+Insert   Append the contents of the clipboard to the current selection Edit-> Paste After
FindCtrl+F   Open a dialog that lets you search for a string in either the current selection, the current fragment form, a file or its "domain" or "extent".Edit->Find...
ReplaceCtrl+H   Like Find, but lets you replace the string by another one Edit->Replace...
Check currentF4   Check the current code for errors Compile/Run->Check Current
Check programCtrl+F4 [801 bytes 48x39 PNG] Re-check the program that was last checked Compile/Run->Check Program
Compile currentF7   Compile the current code and (if it is a program) produce an executable file Compile/Run->Compile Current
Compile programCtrl+F7 [618 bytes 48x39 PNG] Compile and create executable for the most recently selected program Compile/Run->Recompile
Run programF8 [1kb 48x39 PNG] Run the most recently selected program (if it has been compiled) Compile/Run->Run Program
Compile and runShift+F7   Compile and run the most recently selected program Compile/Run->Compile and Run Program
Debug the programF9   Debug the most recently selected program (if it has been compiled) Compile/Run->Debug Program
Debug ExecutableCtrl+F9   Choose an executable to debug Compile/Run->Debug Executable
Get helpCtrl+Alt+H   Open a browser with the Mjolner System Documentation Help -> Web Documentation -> Mjolner System Documentation

1.6.3 Text editing commands

Command Keyboard shortcut
Cut
Copy
Paste
Undo
Redo
Ctrl+X
Ctrl+C
Ctrl+V
Ctrl+Z
Ctrl+Y
These commands are available in text editing mode as well as in syntax browsing mode.

1.6.4 Entering and leaving text editing mode

Command Keys Description Menu item
Enter text editing mode F2, Ctrl+Space Enter text editing mode for the current selection Edit->Edit Text
Leave text editing mode F2, Ctrl+Space Re-parse the edited chunk of code. The code must be syntactically correct Edit->Parse Text
Cancel Text editing Escape Discards all changes to the edited chunk of code Edit->Cancel Textediting


Mjolner Tool Workshop
© 2001-2004 Mjølner Informatics
[Modified: Wednesday September 12th 2001 at 18:09]