Your profile says that you’re using LayUp version 2015 on Mac - what version of OS X are you running? LayOut 2015 will have some crashes in the text editor on newer versions of OS X. If you’re on a newer OS version, you will need to update your version of LayOut to 2016 or later.