Uses the previous selection style for the newly inserted character when replacing text
Merge pull request #296 from kevinlli/styleFix

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