I guess I don't see how the two are different.
If I have a command that modifies the text underneath the mouse cursor then I'd be able to execute that command as the cursor moves over the text, no? But to answer your question I'm really after the first behavior, the text should change dynamically as the mouse cursor moves over it.
So I've worked out that I can do a fair number of the modifications I want using javascript, however tracking the mouse over the text in the TEXTAREA doesn't seem to be possible (though it can be done to the rest of the text in html easily enough).
In the future I may like to do other sorts of drawing besides just changing text properties (all dependant on mouse position and the underlying text).
Maybe instead of using a TEXTAREA you could use an editable IFRAME? Check out Midas and Mozile.
Rob _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
