Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      . . .
      Changing Text
         Inserting and Deleting
         Killing Text
         Clipboard Access
         . . .
         Hex Mode
      Language Modes
         . . .
         C Mode
         Configuration File Mode
         GAMS Mode
         HTML/XML/CSS Modes
         Ini File Mode
         . . .
      More Programming Features
         Navigating in Source Code
         Pulling Words
         Accessing Help
         Context-Sensitive Help
         Commenting Commands
      . . .

Previous   Up    Next
Configuration File Mode  Commands by Topic   HTML/XML/CSS Modes


Epsilon User's Manual and Reference > Commands by Topic > Language Modes >

GAMS Mode

Epsilon automatically enters GAMS mode when you read a file with an extension of .gms or .set. In addition, if you set the gams-files variable nonzero, it recognizes .inc, .map, and .dat extensions. Epsilon also uses GAMS mode for files with an unrecognized extension that start with a GAMS $title directive. The GAMS language is used for mathematical programming.

In GAMS mode, Epsilon does syntax highlighting, recognizing GAMS strings and comments. The GAMS language permits a file to define its own additional comment character sequences, besides the standard * and $ontext and $offtext, and Epsilon recognizes most common settings for these.

When the cursor is on a bracket or parenthesis, Epsilon will try to locate its matching bracket or parenthesis, and highlight them both. If the current character has no match, Epsilon will not highlight it. Set the variable auto-show-gams-delimiters to zero to disable this feature.

If you use the compile-buffer command to compile a GAMS file, Epsilon will automatically look for the .lst file produced by GAMS software and translate its format so that the commands next-error and previous-error work.

Standard bindings:

    gams-mode
 



Previous   Up    Next
Configuration File Mode  Commands by Topic   HTML/XML/CSS Modes


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.