Hi Thomas. Thanks for your previous suggestions with selection.
Selection is really a big problem for me because i Need to know what
text is selected. I saw that there are not info about selected text, so
I tried to force selectio with selectSubString.
The problem is that I should also force deselection.
I tried to modify SVGOMTextContentElement adding a new method
deselectText(). I added this method to many classes
(SVGTextContentSupport, SVGTextContent, ...) up to ConcreteTextSelector
where I call your method clearSelection().
clearSelection() works very well many times but not every time. Sometime
selection is not cleared. Instead i see that selection is correctly
cleared by your checkSelectGesture(). I copied code from
checkSelectGesture():
if (selectionNode != null)
selectionNode.getRoot()
.removeTreeGraphicsNodeChangeListener(this);
To my deselectText() and sometime work, some other gave me a
concurrentException.
You last time said that it would be easy to add deselectAll() function
to SVGSVGElement but you couldnt add it because 1.5.1 is Stable.
Can you suggest me some code to implement deselectAll() or to correct my
deselectText()?
Thanks,
Just for reading,
fabio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]