Community
Participate
Working Groups
The hierachical StringNode model supports indent/prefix/separator/suffix without regard to the consequent line length. The LINE_WIDTH save option could be used to guide a wrapping algorithm. The text field just needs partitioning into children. Some form of non-breaking space might be useful to inhibit bad partitioning. Perhaps an optional non-breaking-space field to nominate the character used as a non-breaking space in the text field. (Once wrapping is in place this functionality should replace the unsatisfactory wrapping in the PrettyPrinter.)