Replace word in a single edit operation.

This allows the replacement to be cancelled with a single UNDO command.
Merge pull request #21 from Typz/singleedit

Replace word in a single edit operation.