Daniel,
Any idea why this would happen? I enter the text below, placed my cursor.
Text I Entered [PLACED MY CURSOR HERE];
Then I used textArea.getTextField().replaceSelectedText(SOME TEXT);
trace(textArea.htmlText) or trace(textArea.text). Got back where I
entered and not the text SOME TEXT
Vaguely. TextArea keeps all the values of the TextField cached. So when
you edit the TextField directly, you're probably not affecting the
TextArea. I don't immediately see a way around this. All the methods you
would need access to in order to refresh the TextArea properties seem
private.
OMG. This is nuts. I guess I should have read the docs a little
better. =) hey thanks again!
--- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote:
try:
http://livedocs.adobe.com/flex/3/langref/flash/text/TextField.html#replaceSelectedText()
- Daniel Freiman
On Mon,
3 matches
Mail list logo