Grab the line contents from the IDocument

See #55.