Zohach - 2013-10-29

I just find this discussion which is nearly the same (except I would like to replace all the document content instead of just the selected part).
https://sourceforge.net/p/npp-plugins/discussion/672146/thread/86bf0de7/