Slick V3.3 manual Color Coding Setup Comments Tab

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 471
Image 471

Color Coding Setup Dialog

Here Document (UNIX Shells/Perl) - Activates support for HERE documents. Note that if you prefix your terminator with one of our lexer names, you will get embedded language color-coding. Example of a HERE document in Perl, where HTMLEOF is used as the terminator to get HTML embedded lan- guage color-coding:

print <<HTMLEOF;

<HTML><HEAD><TITLE>...</TITLE></HEAD> <BODY>

...

</BODY>

</HTML>

HTMLEOF

Unknown languages are color-coded in string color. Embedded language colors are user-definable.

Color identifiers followed by ( as a function - For language such as C++, Java, and Slick-C® , an identifier followed by a parenthesis always indicates a function.

Special coloring for package and import statements (Java) - When this option is selected, the Java syntax package and import statements are supported. This option is forced on for the lexer name Java. You must add the package and/or import keywords to your keyword list in order for this option to have any effect.

Preprocessing keywords can appear anywhere - When this option is selected, preprocessing keywords are color-coded even if they are not only preceded by white space.

Identifiers may start with a number (COBOL) - When this option is selected, identifiers may start with one or more decimal digits. By default, leading decimal digits indicate a number.

@"####" Unicode strings (C#) - When this option is selected, text in the form of @"any text" is coded as a string.

Comments Tab

The Comments tab is used to set comment options for color-coding. To access these settings, click Win- dow Preferences, expand SlickEdit and click General in the tree, then double-click the Color Coding setting and select the Comments tab.

Figure 10.54. Color Coding Setup: Comments Tab

449

Page 471
Image 471
Slick V3.3 manual Color Coding Setup Comments Tab