Search Functionality¶
The Magician Editor provides standard Windows search functionality. The following functions are available under the Search menu on the Smallworld Magician 2000 menu bar:
| Function | Shortcut | Icon | Description |
|---|---|---|---|
| Find | Ctrl + F | Finds specified text string | |
| Find Next | F3 | Finds next instance of selected text string | |
| Replace | Ctrl + R | Replaces one text string with another | |
| Incremental Search | Ctrl + E | N/A | Searches for text string as characters are typed in. |
| Remove Highlighting | Ctrl + H | N/A | Turns off highlighting for all found text strings. |
Find¶
To find a text string in the currently open file, select Edit | Find from the Magician 2000 menu bar. The Find Text window will appear:
Enter or select the following information:
| Option | Descriptions |
|---|---|
| Text to find | Enter the text string you want to search |
| Case Sensitive | Check this box if you want to perform a case sensitive search. |
| Whole Words Only | Check this box if you want to search for whole words only. |
| Regular Expressions | ???? |
| Direction | Indicate whether you want the search to run forward or backwards through the text file. |
| Scope | Indicate whether you want the search to search the entire file (Global) or selected text only. |
| Origin | Indicate whether you want the search to run from the current cursor position or if you want the search to run from the top of the file. |
Note that if you place your cursor on a syntactical element (such as a keyword or class name) before you select the Find function, that element will automatically appear in the Text to find field.
Find Next¶
To find the next instance of the specified text string, select Edit | Find Next from the Magician 2000 menu bar (or press F3).
Replace¶
To replace a text string with another text string in the currently open file, select Edit | Replace from the Magician 2000 menu bar. The Replace Text window will appear:
This window is very similar to the Find Text window except that you should enter both a Text to find string and a Replace with string.
When you click on the OK button, the cursor will jump to the first instance of the Text to find string and you will be asked to confirm the replacement.
Incremental Search¶
The incremental search function searches for to the first instance of a string of characters as you type them in.
For example, if you typed the letter "p", the cursor would highlight the first "p" that it found--which might be in the word "descriptors". If you then typed the letter "r", the cursor would highlight the first "pr" combination that it found--which might be in the word "pragma".
To initiate an incremental search, select Edit | Incremental Search from the Smallworld Magician 2000 menu bar, then begin typing characters. You may also simply begin typing characters in the blank field on the search toolbar, shown below:
![]()
As you type in characters, the cursor will jump to the first instance of the matching text string.
Remove Highlighting¶
Where is Find All?
When you use the Find All function, all instances of the selected text string are highlighted in the open file. To turn off the highlighting, select Edit | Remove Highlighting from the Smallworld Magician 2000 menu bar.

