short-section? ( section -- ? )
Factor handbook » Developer tools » The prettyprinter » Extending the prettyprinter » Prettyprinter sections » Prettyprinter section protocol

Prev:newline-after? ( section -- ? )
Next:short-section ( section -- )


Vocabulary
prettyprint.sections

Inputs
sectiona section


Outputs
?a boolean


Generic word contract
Tests if a section should be output as a short-section. The default implementation calls section-fits? but this behavior can be customized.

Definition


Methods