Programs: SciTE Editor


SciTE is a programmer's text editor created and contributed by Neil Hodgson. ANGEL is a version of SciTE 1.53 customized for use with AGAST.

It supports features such as syntax-styling, access to the compiler and interpreter though a drop-down menu (or keypress), autocomplete, popup help for standard functions, and a window pane that shows error messages. You can jump directly to the line of an error message by double-clicking it, which saves time and hassle.

In order for the AGAST-specific features to be available, you must have open a script file which is part of your game. (Any .s or .txt file within the game or any scene directory will do.)

Here are some useful keyboard shortcuts:

F7: Compile the game in debug mode*
Ctrl+F7: Compile the game in release mode*
F5: Play the game
CTRL+Plus: Increase text size
CTRL+Minus: Decrease text size
CTRL+Mousewheel: Increase/decrease text size

* These shortcuts differ from those used in SciTE 1.53

More detailed help is included with SciTE. To read this help, select "Help|SciTE Help" from within ANGEL, or open the file tools\SciTEDocs\SciTEDoc.html in your web browser.

The original SciTE supports other languages such as Python, C++, XML, and just about everything else under the sun. You can get both SciTE and the Scintilla control it's based on from www.scintilla.org.

As mentioned above, ANGEL is based upon SciTE 1.53. The following changes have been made:

  • The .properties files have been substantially pared down.
  • An agast.properties file has been added.
  • An agast.api file has been added.
  • The program icons have been changed.
  • A number of strings have been changed to indicate that this version of SciTE has been modified.
  • The "Compile", "Build", and "Go" menu options have been replaced with "Compile (Debug)", "Compile (Release)" and "Play Game" options, respectively.
  • The Help|About box has been revised.
  • The keyboard shortcuts for Compile and Build have been altered.
  • The calltip feature has been modified to permit "\n" (newline) escape characters in function descriptions.

If you're a programmer who uses SciTE for other languages, you might want to use your existing copy of SciTE to work with AGAST. To do so, just add the tools\agast.properties and tools\agast.api files to your existing configuration. Keep in mind, however, that you may see unexpected output (such as the string "\n") in calltips.

SciTE Copyright Notice

License for Scintilla and SciTE

Copyright 1998-2003 by Neil Hodgson

All Rights Reserved

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.

NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.