Store continuedX on the line wrapper instead of the document, since the line wrapper is now reused