Keyword Builder

The keyword builder is a dialog which allows you to create and modify colorization definitions. A colorizer definition is needed to tell CRiSP how to perform colorization of keywords for files of a particular type. CRiSP comes with a variety of supported languages, but you can use this dialog to create your own or to modify a supplied definition. For example, you might be programming in C and want to add custom function libraries so that they are colored in a different color.

In order to create a colorizer there are three types of things you need to define:

  • Special parsing characters   
  • Global attributes
  • Keywords

Character

character

The character classes are used to define what a keyword looks like. For instance, in the C language, the acceptable characters making up a symbol are the upper and lower case letters, the digits (0-9) and the underscore. ABC_DEF is a perfectly valid symbol name. In some other language, maybe the underscore is not valid; in shell scripts, the dollar sign is used to introduce a symbol but can also terminate a symbol name, e.g. $HOST$PWD. The character class definitions are pseudo-regular expressions containing character classes using the [..] notation.

Global options

global options

The global attributes describe aspects of the language you are about to colorize. For instance all keywords may be specified as case independent, or a special language syntax needs to be catered for. The attributes which you can specify are described in the flags section.

Keyword builder

keyword builder

The keyword builder is a dialog which allows you to create and modify colorization definitions. A colorizer definition is needed to tell CRiSP how to perform colorization of keywords for files of a particular type. CRiSP comes with a variety of supported languages, but you can use this dialog to create your own or to modify a supplied definition. For example, you might be programming in C and want to add custom function libraries so that they are colored in a different color.

Testimonials

"I have been using the CRiSP editor for about 3 years. It is by far one the best text editors I have ever used. It is very reliable, and I have yet to lose any data using it. It makes the editing and compiling process effortless, and it frees up more time for other tasks. The colorization, buffering, and column editing features are well worth the cost of this software."

Crisp Screenshots

paypal_horiz