Gfa_Init and Gfa_Exit Events

Syntax

Sub Gfa_Init

Sub Gfa_Exit

Description

The Sub Gfa_Init is executed immediately after loading the Editor Extension. It is used to declare and initialize global variables, add menu entries to the Extra menu, and any other initialization required for the editor extension.

The Sub Gfa_Exit is executed just before unloading the Editor Extension. It is used to release resource that were used or allocated by the editor extension. Menu entries are automatically removed.

Remarks

Each editor extension may contain a number of event subs. When more than one GLL is loaded and each defines the same event sub they will be executed in the order that they are loaded into memory.

There are event subs to initialize and finalize the editor extension, a set event subs that is executed when a program is started and closed, two different timer events, and an event sub to handle the drag and drop functionality of the :Files tab.

See Also

Gfa_Minute, Gfa_Second, Gfa_OnRun, Gfa_OnEnd

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