[EMAIL PROTECTED] wrote:
Hi Daniel,
[EMAIL PROTECTED] wrote:
The 'textSelectionHandler' is protected access so you can simply
subclass the canvas and replace the default TextSelectionHandler
(there should be a createTextSelectionHandler method which would make
this cleaner but you can just replace it).
Daniel Meyer <[EMAIL PROTECTED]> wrote on 03/14/2007 07:03:19 AM:
that's what I did. So there will be no side effects to this?
I don't think so, you want to do the replacement in an
override of the initializeEventHandling function (probably call the
super method then do the replacement) to make sure that it doesn't
get replaced when the Canvas runs through initialization again.
I've tried that, works perfectly!
Thanks for the help!!
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]