highlighting character entities

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Abigail Marceluk

highlighting character entities

Post by Abigail Marceluk »

I'm using a propriety markup language with character entities similar to HTML, with & as char. start and ; as the end, but instead of, say, ldquo it's just ld. Regardless of what I do with the document classes or syntax files, TextPad will only display the "character" color on the entities that are the same as HTML ones. Is there any way to apply the character color to non-HTML character entities?
Ed

Re: highlighting character entities

Post by Ed »

You need to create a new document class. This is not really scary as you take, for instance, the html.syn syntax file in TextPad/system directory and copy it with a new name to your textPad/user directory.
This file should then be editted to suit your markup language.
Finally select Configure/New Document Class from the TextPad menu to activate this syntax file.
Post Reply