new char input overwrites highlighted text - messy but working. Needs revision.