Programming GFA-BASIC 32 Editor Extensions

The GFA Editor Extensions are a standardized interface for the source code editor of GFA-BASIC 32 and extend the editor with a set of special commands. The interface consists of commands and functions to manipulate source code text, file I/O, and many IDE issues. Meaningful extensions could be an auto save function, automatic minimizing the editor window before running the program and restoring after the program ends, invoking the help file, merging a large number of internal files (:Files) again and again, and inserting code snippets.

Editor extensions are programmed in GFA BASIC 32, so you use the development environment also for creating GLL extensions. Consider however, that contrary to other GFA BASIC 32 projects, the Editor Extensions cannot be run (F5) from inside the IDE. Instead, an editor extension must be compiled and installed before it can be used.

The Editor Extension Commands

Compiling and Installing

Restrictions and Features

The Structure of an Editor Extension

Using Dialogs in a GLL

Miscellaneous GLL Examples

{Created by Sjouke Hamstra; Last updated: 12/05/14 by James Gaite}