Open zspitz opened 4 years ago
This would have an additional benefit. Currently, for the DebugViewWriterVisitor, the path span for a given node includes the whitespace triggered by flow before the node. If WriterVisitorBase was aware of the flow, it could start the path span at the first actual write of the node, ignoring the flow-triggered whitespace.
DebugView has a mechanism for tracking text flow and wrapping long lines.
It would be nice to incorporate this into WriterVisitorBase, so other writer/visitors could use it as well.