Make tm.insertText highlight the inserted text on occasion (drag-drop and replace, like regular text editors)