About Syntax Coloring
Home Page (Text Editor) | Overview | How Do I ... Topics | FAQ | Reference
Syntax coloring uses different colors for various code elements, such as keywords or comments. This coloring gives you visual cues about the structure and state of your code.
Syntax coloring is based on the language of your source file. It is global; once you set syntax coloring for a particular language, all files of that language are colored the same way.
The Text editor recognizes several languages, including Visual Basic Script (VBS), C/C++, ODL/IDL, and several variants of HTML. Additionally, you can define a list of keywords that you would like colored, and specify how you would like them colored.
Software products that support HTML differ widely in the set of elements, attributes, and entities they recognize. The HTML syntax-coloring feature lets you select a range of HTML support, and allows custom variations. When you create an HTML file, the default HTML support is Microsoft Internet Explorer 3.0. To switch to a different support, choose Properties from the Edit menu and select the HTML support of your choice from the Language box. The HTML support you select becomes the new default.
The built-in HTML support includes:
HTML Server Side Script.
HTML 2.0. This conforms with the DTD given in RFC1866.
HTML IExplore3. Microsoft Internet Explorer 3.0.
What do you want to do?
Set syntax coloring for one source file
Change colors used for syntax coloring
Set syntax coloring for user-defined keywords