[not loaded]All predicatesShow sourceformat.pl -- Print formatted text to a terminal

This module is the core of the plain text rendering module, providing format_paragraph/2 which formats a plain text block, respecting left and right margins, text alignment, ANSI style elements, etc.

Source format_paragraph(+Text, +Options)
Format a paragraph to the current output. Options defined are:
Width of a line. Default is 72.
Indent all lines with Indent spaces.
Additional right margin (same as reducing width)
Additional indent for the first line. Can be negative.
Bullet placed before the first line.
One of left, right, center or justify
If present, padd to the right using Char. Currently Char must be ' '.
Source trim_line(Line0, Line) is det
Remove leading and trailing white space (b(_,_)) tokens from a line.
Source format_line(+Line, +Width, +LineNo, +Options) is det[private]
Source float_right(+Line0, -Line, -Right) is semidet[private]
Source space_dim(+Line, -SpaceVars, -Width)[private]
Source spread(+Spread, +SPC, -Spaces)[private]
Distribute Spread spaces over SPC places, producing a list of counts.
Source emit_line(+Content)[private]
Source words(+Input, -Words) is det[multifile]
Turn the Input into a list of w(Word, Len, Attributes) terms.