some code to build/traverse structures that represent text
blocks, lines and chars.  Alsso test code to draw them for debugging.
I am moving that out of Document next.