Refactored textE to documentView