new-section ( length class -- section )
Factor handbook » Developer tools » The prettyprinter » Extending the prettyprinter » Prettyprinter sections » Prettyprinter section protocol

Prev:long-section ( section -- )
Next:new-block ( class -- block )


Vocabulary
prettyprint.sections

Inputs
lengthan integer
classa subclass of section


Outputs
sectiona section


Word description
Creates a new section with the given length starting from position, advancing position.

Definition