costs ( vocabs -- length-on-new-line length-when-added-to-prev-line )


Vocabulary
format-using

Inputs
vocabsan object


Outputs
length-on-new-linean object
length-when-added-to-prev-linean object


Definition


: costs
( vocabs -- length-on-new-line length-when-added-to-prev-line )
joined-length [ indent-length + 1 - ] keep ;