I am running version 1.0.0.14. I found an issue when copying text, from Microsoft Word, that has apostrophes and pasting into the segment editor. It appears to paste the text but after saving the script and closing, the file will not reopen. I manually opened the xml file in notepad and it appears that the editor is saving the apostrophes as some weird symbol. After manually deleting the apostrophes the file opened normally. I could type an apostrophy in the segment editor, save the file and reopen it normally.
Add this line to the beginning of OnDialogAccept() in frmSegmentEditor.js
txt = txt.replace(/’/g,"'"); // Unicode E28099
This is because it uses a UTF8 apostrophe (e2 80 99). When saved, this script then fails the xml import.