add copy/cut/paste support in simpletext