[GAP Forum] GAP support in Scintilla/SciTE

Istvan Szollosi szteven at gmail.com
Tue Jun 19 11:28:13 BST 2007


Dear GAP Forum,

I would like to announce the availability of GAP language support in
the newly released Scintilla code editing component and SciTE source
code editor (http://www.scintilla.org). Syntax highlighting and code
folding for GAP is officially available beginning with version 1.74.
Visit http://scintilla.sourceforge.net/ScintillaHistory.html for a
list of changes compared to the previous version. Since a lot of open
source projects and commercial products are based on Scintilla
(http://scintilla.sourceforge.net/ScintillaRelated.html), GAP support
may appear in other editors (more sophisticated and complex than
SciTE) as well, as they sync to this new version of the component.

If you are using SciTE already for C/C++ code editing and alike you
may consider upgrading to this new version, if not, it is worth giving
it a try.
You can download SciTE for the platform of your choice from
http://scintilla.sourceforge.net/SciTEDownload.html.

To enable GAP syntax highlighting in SciTE proceed as follows:
   1. start SciTE, enable displaying of line numbers by checking View
-> Line Numbers
   2. go to Options -> Open Global Options File
   3. uncomment (delete the '#' character) line 458 - "#Gap|g||\"
   4. uncomment line 536 - "#import gap"
   5. save the file and restart SciTE. Note: on Linux you might have
to run SciTE with root privileges to be able to do this (i.e. to save
the edited global properties file)

In case everything went right, a "GAP" entry appears in the Language
menu. You can force GAP syntax highlighting to be applied for a newly
created file form the Language menu, or it will automatically start if
you open a *.g, *.gi or *.gd file.

Adding GAP support for Scintilla was just the first step in developing
a complete GUI for GAP. An editor specially crafted for GAP integrated
with a Maple-like GUI will be available for testing, soon. All these
are developed using wxWidgets (www.wxwidgets.org) so that the
multiplatform nature is assured.

Sincerely yours,

        Szollosi Istvan

-- 
S. Szollosi Istvan
Babes-Bolyai University
Faculty of Mathematics and Computer Science
Faculty of Physics
Mihail Kogalniceanu nr. 1 RO- 400084 Cluj-Napoca, Romania
http://www.ubbcluj.ro



More information about the Forum mailing list