Linguist Script Editor

This editor provides standard editing facilities for any Linguist script. It is written entirely in Java, so it works the same way on any platform.

Note: All documentation for this editor (including this screen) is displayed using the ICESoft Browser. This is a commercial package supplied under the terms of a freeware license that prohibits making commercial use of the Browser with out first purchasing a license. For more information go to http://www.icesoft.no/ICEBrowser/.

Keyword highlighting

When you load a new script the editor will highlight every word it recognizes as being a valid keyword. To get syntax information about a particular command move the cursor to that word and right-click. For a full list of all the available keywords go to the Linguist Documentation.

If some keywords do not highlight it may be because the editor does not know about them. Go to the Edit menu and select Preferences. A dialog will appear that lists all the packages currently known to the editor. You can add new packages, reorganize them or remove unwanted ones. See also the help button in the dialog.

Compiling and Running

You can compile and run a script directly from the editor, by making a choice from the Program menu. There are three options:

The first compiles the current script to binary, allowing it to be accessed directly by the LS runtime interpreter.

The second compiles the script then runs it. What happens then is up to the script.

The third compiles the script then runs it under the control of the debugger. Information about this can be found elsewhere.

Whichever option is chosen, the result of the compilation will appear in a Message window. If the compiler encounters an error it will stop at that point, so only one error will be reported at a time. Clicking anywhere in the Message window causes the editor to scroll to the offending line in the script and to highlight that line.