In Edit menu click Read Only Mode menu item. The text editor will be changed to read only. You can also change the editor to editing mode by clicking the same menu. When the text is empty Read Only Mode menu item will be disabled.