Uses the previous selection style for the newly inserted character when replacing text