teiiddes-1961

Changed to use caret position prior to setText() in case the user was editing the middle of the text value.