Allows scripts to edit the selected text in textareas, in particular the selected text in the article editing textarea.
IE quirk: this script will cause the textarea in question to receive focus, because IE has no way to retreive the selection in textareas without focussing them.
Non-IE quirk: this script will set the selection in a setTimeout, because Firefox, Konqueror and others modify the selection or display other weird behaviour when scripts stop running and the value of a textarea has been changed.