Use the Edit comment tool to attach a text file to any object.
The Edit comment tool runs your default editor on a temporary file. Do not change the name or location of the file when you save, or the comments will be lost.
I want to change the text editor that Alias launches?
Choose Preferences > General Preferences and set the option in the General section.