http://wikimonks.com/the-app-that-adds-undoredo-to-your-android-keyboard/
An App that Adds Undo/Redo to Your Android Keyboard