@ ------------------------------------------------------------------------- @ HTML Keyword Highlighting file for the EPM editor @ ------------------------------------------------------------------------- @ @ The HELP info is taken from the EPMKWDS.C file. It is re-printed here @ for your convenience should you decide to modify the file. @ @ NOTE: This colors used in this file were optimized for a black background @ with bright green text. @ @ To add a highlight button to the Toolbar, follow the following steps: @ @ 1) Right click on the bar @ 2) Select "BUFFET" from the menu @ 3) Find the button labled "KwdHilit" on the Buffet and drag @ it onto the "current toolbar" @ 4) Select OK @ 5) Right click on the toolbar again and select "save as" to @ save the configuration. @ 6) The toolbar can be permanently selected in the "settings" options. @ @ --------------------------------------------------------------------------- @ 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 @ If a value of -1 is given then the default foreground or background @ color is used. @ @ COLORS - @ 0 - Black 8 - Gray @ 1 - Blue 9 - Bright Blue @ 2 - Green 10 - Bright Green @ 3 - Cyan 11 - Bright Cyan @ 4 - Red 12 - Bright Red @ 5 - Magenta 13 - Bright Magenta @ 6 - Brown 14 - Yellow @ 7 - Dark Gray 15 - White @ ----------------------------------------------------------------- @ @DELIM @ @ Start Color Color End Escape @ string bg fg string character @ & -1 9 ; @ < -1 13 > " -1 12 " @ @ @SPECIAL @ < -1 15 > -1 15 / -1 15 \ -1 12 @ @BREAKCHAR @ = @ @CHARSET @ abcdefghijklmnopqrstuvwxyz_#ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 @ @KEYWORDS @ HEAD -1 11 BODY -1 11 IMG -1 11 CENTER -1 11 HREF -1 13 TABLE -1 11 TD -1 11 TR -1 11 TITLE -1 11 HTML -1 11 B -1 11 P -1 11 I -1 11 BR -1 11 HR -1 11 FONT -1 11 SRC -1 13 ALIGN -1 13 ALT -1 13 A -1 11 WIDTH -1 13 SIZE -1 13 META -1 11 H1 -1 11 H2 -1 11 H3 -1 11 H4 -1 11 H5 -1 11 H6 -1 11 BASEFONT -1 11 UL -1 11 OL -1 11 LI -1 11 VALIGN -1 13 NAME -1 13