add Ctrl+A and selection deletion support for simple text