www.babelstone.co.uk/Software/SampleHighlightingFile.txt Sample User-defined Highlighting file for BabelPad File must be encoded as UTF-8 (with or without a BOM). Blank lines and lines starting with a tab are ignored. Each line to be parsed should have four tab-separated fields: Field 1: character or word or phrase to highlight (may be multiscript) Field 2: text colour (defaults to black if omitted) Field 3: background colour (defaults to white if omitted) Field 4: optional flags [a|w] [s|i]: 'a' = highlight all instances regardless of word boundary (default) 'w' = only highlight whole words 's' = case sensitive (default) 'i' = case insensitive Multiple words or phrases to be highlighted identically must be specified individually on separate lines. Text is case sensitive, unless you specify the 'i' flag. Colours may be specified either as one of sixteen named colours (white, silver, gray, black, red, maroon, yellow, olive, lime, green, aqua, teal, blue, navy, fuchsia, purple) or as hex triplets (names and hex triplets are case insensitive). Hex triplets may optionally be separated by a space character. All default values (case sensitive, match all occurences, black text and white background) DAY Red text and white background (case sensitive, match all occurences) Monday RED White monday Red white Green text and default (white) background (case sensitive, match all occurences) Tuesday GREEN tuesday green Blue text and light pink (FF B6 C1) background (case insensitive, match all occurences) Wednesday blue FFB6C1 i Yellow text and yellow background (case sensitive, match whole words only) (text will be invisible) Thursday Yellow yellow w thursday Yellow ffff00 w Chartreuse (7F FF 00) text and light salmon (FF A0 7A) background (case insensitive, match whole words only) Friday 7fff00 ffa07a iw friday 7F FF 00 FF A0 7A wi Default (black) text and yellow background (case sensitive, match all occurences) Saturday YELLOW as saturday Yellow a s Sunday FF FF 00 sa sunday ffff00 s a End of File