Set text width only for text files.