Except for container
every function specified here should be
vectorized and apply formatting to each element in a character vectors. The
functions must accept at least one argument and require no more than one
argument. The text to be formatted will be passed as a character vector
as the first argument to each function.
function used primarily by HTML styles to generate an
outermost DIV
that allows for CSS targeting of its contents
(see cont_f
for a function generator appropriate for use
here)
function
function
function
function
function formats guide lines (see guides
)
function
function
function
function
function formats guide lines (see guides
)
function
function
function
function
function
function
function to format each hunk header with
function to format entire banner
function to format insertion banner
function to format deletion banner
function format meta information lines
function to format the separator used to visually
distinguish the A and B hunks in “context” mode
a StyleFuns S4 object
These functions are applied in post processing steps. The diff*
methods do not do any of the formatting. Instead, the formatting is done
only if the user requests to show
the object. Internally, show
first converts the object to a character vector using as.character
,
which applies every formatting function defined here except for
container
. Then show
applies container
before
forwarding the result to the screen or pager.