TextDocument: improve the playback visualization