<inset ( narrow? -- )
Factor handbook > Developer tools > The prettyprinter > Extending the prettyprinter > Prettyprinter sections

Prev:<block ( -- )
Next:<flow ( -- )


Inputs and outputs
narrow?a boolean

Word description
Begins an inset section. When printed as a long-section, the output format is determined by the narrow? flag. If it is f, then longer lines are favored, wrapping at the margin. Otherwise, every child section is printed on its own line.

Compare the output of printing a long quotation versus a hashtable. Quotations are printed with narrow? set to f, and hashtables are printed with narrow? set to t.