Table of Contents
The Velocity Template Language (VTL) is used to embed dynamic elements within what would otherwise be static templates. By using VTL it is possible to interact with the user, calculate values, incorporate conditional logic, and much more.
Dynamic content is embedded in a template file using references . VTL supports three types of references:
variables
properties
methods
References in Velocity are always treated as String objects.
Several "special" variable are added by the Templates plugin into the Velocity context, and are available for use by plugins. This section describes these jEdit-specific variables.
This variable can be used to indent the current line, based on the indentation values configured for the current buffer.
This variable can be used to insert a tab into the current buffer. The tab may be a soft or hard tab, depending on the buffer configuration.