create a copy of the text editor string for saving
Merge pull request #1564 from pjrobertson/strings

Copy the text editor string (when creating new objects) don't reference it