home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
htmlks10.zip
/
EPMKWDS.HTM
< prev
next >
Wrap
Text File
|
1997-09-08
|
9KB
|
453 lines
√ -----------------------------------------------------------------
√ Sample of keywords file for the keywords highlighting feature of EPM
√ -----------------------------------------------------------------
√ This file is used by EPM to figure out which keywords to highlight
√ It contains all the ANSI C keywords, plus all the #defines,
√ typedefs and function prototypes of the 2.1 toolkit.
√ Since it is huge, it takes a long time to load (8 sec on my 486-33 machine).
√ Update: The size has been cut in half by converting spaces to tabs.
√ If you don't use a monospaced font, things will appear misaligned.
√ The Extended Attribute EPM.TABS was used to ensure that tab stops
√ are set at every 8 columns.
√ EPM looks for this file along the EPMPATH.
√ The loading time can be reduced by removing some keywords from the list.
√ The format to follow is described below.
√
√ ------------------------------------------------------------------
√ Format of the file
√ ------------------------------------------------------------------
√ The first character of the first line is the "special" character.
√ If it appears at the beginning of a line after, it is
√ either followed by a space and marks then a comment, or
√ by any other character and is then a topic name.
√ Currently the only topics are :
√ DELIM
√ "start string" "end string" "bg color" "fg color" "escape character" "column"
√ What's between the 'start' and 'end' delimiters is set to the 'color' color.
√ If no 'end' is specified, the whole line after any 'start' string is colored.
√ If an 'Escape' character appears just before a 'end' string, it won't be considered an end delimiter.
√ If an 'Escape' character appears just before a 'start' string, it won't be considered a start delimiter.
√ An 'Escape' character can be escaped by another 'Escape' character
√ If the column field is present, a start delimiter will be valid only if it starts on this column
√ If the end delimiter is not on the same line as the start, no color changes will be done.
√ The special character can be used as a placeholder, eg if you want a column but no escape character
√ DELIMI
√ Like DELIM, but case insensitive.
√ KEYWORDS
√ "name" "fg color" "bg color"
√ They must include only characters specified in the CHARSET section, case sensitive.
√ INSENSITIVE
√ "name" "fg color" "bg color"
√ Same as KEYWORDS except case insensitive.
√ CHARSET
√ "string including all the characters"
√ List of characters allowed in the names of the KEYWORDS and INSENSITIVE sections.
√ SPECIAL
√ "name" "fg color" "bg color"
√ Any occurrence of these strings will be changed to the specified color.
√ They can include any character.
√ SPECIALI
√ Like SPECIAL, but case insensitive.
√ BREAKCHAR
√ "character" "fg color" "bg color"
√ This character is considered as a space when keywords in √KEYWORDS
√ or √INSENSITIVE are looked for. If colors are specified, a break
√ at the beginning of a keyword will have its own color, else it will
√ have the same color as the keyword.
√ ENDCHAR
√ "character" "fg color" "bg color"√
√ The character after this one is considered as a space when keywords
√ in √KEYWORDS or √INSENSITIVE are looked for. If colors are
√ specified, an end char at the end of a keyword will have its own
√ color, else it will have the same color as the keyword.
√
√ An end character at the end of a keyword in √KEYWORDS or
√ √INSENSITIVE is hilited with its own color.
√
√ The background and foreground colors are values between 0 and 15
√ (see the EPM doc). If a value of -1 is given then the default
√ foreground or background color is used.
√
√ -----------------------------------------------------------------
√ Actual description of the keywords
√ -----------------------------------------------------------------
√
√
√
√CHARSET
√
abcdefghijklmnopqrstuvwxyz_-="<>/#ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
√
√
√DELIMI
√ Start Color Color End Escape
√ string bg fg string character
<!-- 14 0 -->
" -1 5 "
√
√
√ENDCHAR
= -1 1
> -1 1
< -1 1
√
√BREAKCHAR
> -1 1
< -1 1
/ -1 1
√SPECIALI
> -1 1
< -1 1
<A -1 1
<ADDRESS -1 1
<APPLET -1 1
<AREA -1 1
<B -1 1
<BASE -1 1
<BASEFONT -1 1
<BIG -1 1
<BLOCKQUOTE -1 1
<BODY -1 1
<BR -1 1
<CAPTION -1 1
<CENTER -1 1
<CITE -1 1
<CODE -1 1
<DD -1 1
<DFN -1 1
<DIR -1 1
<DIV -1 1
<DL -1 1
<DT -1 1
<EM -1 1
<FONT -1 1
<FORM -1 1
<FRAME -1 1
<FRAMESET -1 1
<H1 -1 1
<H2 -1 1
<H3 -1 1
<H4 -1 1
<H5 -1 1
<H6 -1 1
<HEAD -1 1
<HR -1 1
<HTML -1 1
<I -1 1
<IMG -1 1
<INPUT -1 1
<ISINDEX -1 1
<ISMAP -1 1
<KBD -1 1
<LI -1 1
<LINK -1 1
<MAP -1 1
<MENU -1 1
<META -1 1
<OL -1 1
<OPTION -1 1
<P -1 1
<PARAM -1 1
<PRE -1 1
<SAMP -1 1
<SCRIPT -1 1
<SELECT -1 1
<SMALL -1 1
<STRIKE -1 1
<STRONG -1 1
<STYLE -1 1
<SUB -1 1
<SUP -1 1
<TABLE -1 1
<TD -1 1
<TEXTAREA -1 1
<TH -1 1
<TH -1 1
<TITLE -1 1
<TR -1 1
<TT -1 1
<U -1 1
<UL -1 1
<VAR -1 1
/A> -1 1
/ADDRESS> -1 1
/APPLET> -1 1
/AREA> -1 1
/B> -1 1
/BASE> -1 1
/BASEFONT> -1 1
/BIG> -1 1
/BLOCKQUOTE> -1 1
/BODY> -1 1
/BR> -1 1
/CAPTION> -1 1
/CENTER> -1 1
/CITE> -1 1
/CODE> -1 1
/DD> -1 1
/DFN> -1 1
/DIR> -1 1
/DIV> -1 1
/DL> -1 1
/DT> -1 1
/EM> -1 1
/FONT> -1 1
/FORM> -1 1
/FRAME> -1 1
/FRAMESET> -1 1
/H1> -1 1
/H2> -1 1
/H3> -1 1
/H4> -1 1
/H5> -1 1
/H6> -1 1
/HEAD> -1 1
/HR> -1 1
/HTML> -1 1
/I> -1 1
/IMG> -1 1
/INPUT> -1 1
/ISINDEX> -1 1
/ISMAP> -1 1
/KBD> -1 1
/LI> -1 1
/LINK> -1 1
/MAP> -1 1
/MENU> -1 1
/META> -1 1
/OL> -1 1
/OPTION> -1 1
/P> -1 1
/PARAM> -1 1
/PRE> -1 1
/SAMP> -1 1
/SCRIPT> -1 1
/SELECT> -1 1
/SMALL> -1 1
/STRIKE> -1 1
/STRONG> -1 1
/STYLE> -1 1
/SUB> -1 1
/SUP> -1 1
/TABLE> -1 1
/TD> -1 1
/TEXTAREA> -1 1
/TH> -1 1
/TH> -1 1
/TITLE> -1 1
/TR> -1 1
/TT> -1 1
/U> -1 1
/UL> -1 1
/VAR> -1 1
ACTION= -1 1
ALIGN= -1 1
ALINK= -1 1
ALT= -1 1
BACKGROUND= -1 1
BGCOLOR= -1 1
BORDER= -1 1
CELLPADING= -1 1
CELLSPACING= -1 1
CLASS= -1 1
CLEAR= -1 1
CODE= -1 1
CODEBASE= -1 1
COLOR= -1 1
COLS= -1 1
COLSPAN= -1 1
COMPACT -1 1
CONTENT= -1 1
COORDS= -1 1
HEIGHT= -1 1
HREF= -1 1
HSPACE= -1 1
HTTP-EQUIV= -1 1
LINK= -1 1
LOWSRC= -1 1
MARGINHEIGHT= -1 1
MARGINWIDTH= -1 1
MAXLENGTH= -1 1
METHOD= -1 1
NAME= -1 1
PROMPT= -1 1
REL= -1 1
REV= -1 1
ROWS= -1 1
ROWSPAN= -1 1
SCROLLING= -1 1
SHAPE= -1 1
SIZE= -1 1
SMALL= -1 1
SRC= -1 1
START= -1 1
TEXT= -1 1
TITLE= -1 1
TYPE= -1 1
USEMAP= -1 1
VALIGN= -1 1
VALUE= -1 1
VERSION= -1 1
VLINK= -1 1
VSPACE= -1 1
WIDTH= -1 1
NOHREF -1 1
NOWRAP -1 1
CHECKED -1 1
¡ -1 4
¢ -1 4
£ -1 4
¤ -1 4
¥ -1 4
¦ -1 4
§ -1 4
¨ -1 4
© -1 4
ª -1 4
« -1 4
¬ -1 4
-1 4
® -1 4
¯ -1 4
° -1 4
± -1 4
² -1 4
³ -1 4
´ -1 4
µ -1 4
¶ -1 4
· -1 4
¸ -1 4
¹ -1 4
º -1 4
» -1 4
¼ -1 4
½ -1 4
¾ -1 4
¿ -1 4
À -1 4
Á -1 4
 -1 4
à -1 4
Ä -1 4
Å -1 4
Æ -1 4
Ç -1 4
È -1 4
É -1 4
Ê -1 4
Ë -1 4
Ì -1 4
Í -1 4
Î -1 4
Ï -1 4
Ð -1 4
Ñ -1 4
Ò -1 4
Ó -1 4
Ô -1 4
Õ -1 4
Ö -1 4
× -1 4
Ø -1 4
Ù -1 4
Ú -1 4
Û -1 4
Ü -1 4
Ý -1 4
Þ -1 4
ß -1 4
à -1 4
á -1 4
â -1 4
ã -1 4
ä -1 4
å -1 4
æ -1 4
ç -1 4
è -1 4
é -1 4
ê -1 4
ë -1 4
ì -1 4
í -1 4
î -1 4
ï -1 4
ð -1 4
ñ -1 4
ò -1 4
ó -1 4
ô -1 4
õ -1 4
ö -1 4
÷ -1 4
ø -1 4
ù -1 4
ú -1 4
û -1 4
ü -1 4
ý -1 4
þ -1 4
ÿ -1 4
Æ -1 4
Á -1 4
 -1 4
À -1 4
Å -1 4
à -1 4
Ä -1 4
Ç -1 4
É -1 4
Ê -1 4
È -1 4
Ë -1 4
Í -1 4
Î -1 4
Ì -1 4
Ï -1 4
Ñ -1 4
Ó -1 4
Ô -1 4
Ò -1 4
Ø -1 4
Õ -1 4
Ö -1 4
Þ -1 4
Ú -1 4
Û -1 4
Ù -1 4
Ü -1 4
Ý -1 4
á -1 4
â -1 4
æ -1 4
à -1 4
å -1 4
ã -1 4
ä -1 4
ç -1 4
é -1 4
ê -1 4
è -1 4
ð -1 4
ë -1 4
í -1 4
î -1 4
ì -1 4
ï -1 4
ñ -1 4
ó -1 4
ô -1 4
ò -1 4
ø -1 4
õ -1 4
ö -1 4
ß -1 4
þ -1 4
ú -1 4
û -1 4
ù -1 4
ü -1 4
ý -1 4
ÿ -1 4