1 ! Copyright (C) 2011 John Benediktsson
2 ! See https://factorcode.org/license.txt for BSD license
4 USING: help.markup help.syntax sequences strings words
5 xmode.catalog xmode.highlight xmode.tokens ;
10 { $values { "tokens" sequence } }
12 "Highlight a sequence of " { $link token } " objects."
16 { $values { "lines" sequence } { "mode" string } }
18 "Highlight lines of code, according to the specified " { $link mode }
23 { $values { "obj" string } }
25 "Highlight and print code from the specified " { $link word } " or path (with a mode determined using the file extension)."