auto formatting text display implemented