Skip to content

The Magician Editor

Magician includes an integrated editor that has been designed to facilitate editing Magik files as well as other text files. Like other editors, Magician allows you to perform file management functions. The following functions are available under the File menu on the Smallworld Magician 2000 menu bar: 

Menu command Shortcut Icon Description
New | File Ctrl + N Creates a new file.
Open | File Ctrl + O Opens an existing file.
Save | File Ctrl + S Saves the current file.
Save As | File N/A N/A Saves the current file under another name.
Close | File Ctrl + F4 Closes the current file.
Reopen File N/A N/A Reopens a recently opened file.

When you open a file, the text of the file will appear in the Magician Editor window on the right side of the Project window. The Project Explorer will appear in a window on the left. If you opened a Magik file, the Code Explorer will appear in a window below the Project Explorer. 

The text of the file will be parsed by syntax.  Each element will be given a different color (as indicated in your Syntax Highlighting Preferences).  

You may open multiple files.  Each file will appear under a different tab in the Magician Editor window.

The editor shares many features with the Magik Prompt window, including:

The editor also includes the following unique features: