Hi KW. "K. W. Landry" <[EMAIL PROTECTED]> wrote on 12/24/2006 08:08:02 PM:
> Can anyone point me to any code segments that utilize DOMTextEvent? Well we use DOMTextEvent for 'text entry' (typing on the keyboard). I don't think there is any DOM 'TextSelectionEvent'. > I'm trying to work out how to leverage it in creating an edit > session for text on the jsvgcanvas. I've read about using a > component instead but this effort has to be 100% DOM based. The solitaire example does this, in the samples/solitaire/script/board.js. This actually uses "keypress" events, but the idea is the same.