The inserted string should be inserted, not replaced, when the size of selected region is 0
Merge pull request #8 from cheng-shiwen/development

inserted, not replaced, when the size of selected region is 0