Hi All!
Why replaceText() method of TextField doesn't dispatch Event.CHANGE? Due to
this when I use TextRange class within either TextInput or TextArea, their
respective text and htmlText properties doesn't change until manual input.
TextRange text setter implementation looks like this:
*public* *function* *set *text(value:String):*void*
{
textField.replaceText(beginIndex,endIndex,value);
endIndex = beginIndex + value.length;
}
Therefore after replaceText() call TextInput and TextArea remain uninformed
about such a change and their _text and _htmlText doesn't change.
Sergey.