@Divingduck: A good idea. There's no reason the text field cannot be pre-filled in with the selected text, if any, that way the present code does not have to be changed at all either. It will simply continue to delete the selection, but also insert the contents of the text field, which will be prefilled with the selected text, giving a smooth default workflow.
|