Cut and paste in TextEditor is losing the last character

Type some text into a text editor. Press control-A to select all, then press control-X to cut, then press control-V to paste.

Result: The text is pasted with the last character missing.

Thanks, just a minor glitch in the new string stuff, I’ll get it sorted asap.