handle moving insert outside of snippet range.