Modifying The Vlx File To Change A Color Definition; Creating A Lexer Name And A New Vlx File - SlickEdit V3.3 User Manual

Slick computer accessories user manual
Table of Contents

Advertisement

• VHDL
• Visual Basic .NET

Modifying the VLX File to Change a Color Definition

To modify an existing language-specific coloring definition, complete the following steps:
1. Open vslick.vlx for editing.
2. Search for one of the section names: CPP, Java, Delphi, Pascal, AWK, REXX, Perl, HTML, Modula-2,
AWK, COBOL, Python, CICS, Fortran, Visual Basic .NET, Ada, or Slick-C
3. Modify the definition. See below for information on the syntax of definitions.
4. Invoke the cload command from the command line. If the current buffer has a .vlx extension, it will
be loaded. Otherwise you will be prompted to specify a file name. Specify vslick.vlx including path
as the file name.

Creating a Lexer Name and a New VLX File

To create a new lexer name (and thus a new section in the VLX file), first complete all of the preceding
steps under
Modifying the VLX File to Change a Color
1. From the main menu, click Window
then double-click the File Extension Setup setting. The Extension Options dialog box appears.
2. Select the
Advanced Tab
3. If this lexer definition is for a new extension, create the extension with the New button. Otherwise,
choose the appropriate extension.
4. Set the Lexer Name for the new lexer definition you created.
5. Turn on the Language Specific check box.
6. Click Update to commit the changes.
Files with a .vlx extension are text files that have a syntax similar to a .ini file. If the first non-blank
character in a line is a semicolon, the line is considered a comment. Each definition of a language starts
with a section name (the lexer name) enclosed in square brackets. Within each section are statements in
the format name=value.
The table below shows the statements that can be used.
Table 11.5. VLX File Statement
Modifying the VLX File to
Change a Color Definition
Preferences, expand SlickEdit and click General in the tree,
.
.
®
Definition, then complete the steps below.
491

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SLICKEDIT V3.3 and is the answer not in the manual?

This manual is also suitable for:

Corev3.3 for eclipse

Table of Contents