Actually, it looks like it's start and end inclusive (i.e., if the pos is equal to start or end of the original edit range, or anywhere in between, it gets pushed to the end of the content that replaced the range). I'll fix and clarify the comment.