* TextControl.cs: When replacing a selection we need to