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).

"Robert O'Callahan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Tom Hennen wrote:
> > I'd like to be able to modify text underneath the mouse cursor.  The
> > modifications I have in mind go beyond those allowed by CSS (uppercase,
> > lowercase, etc...).  I would like to be able to have these changes occur
in
> > TEXTAREAs and possibly in the rest of the HTML.
> >
> > What might be the best way to go about doing this?  Cross-platform isn't
a
> > big goal at the moment so using a Win32 native control would be fine
(though
> > perhaps not ideal).
>
> You mean you want to modify text as the mouse cursor moves over it? Or
> you want some command that modifies the text currently under the mouse
> cursor?
>
> Rob


_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to