Hi,

Trying to insert doodad in editor, found "locate" method:

final Point<ContentNode> point =
editor.getDocument().locate(Math.min(range.getAnchor(),
range.getFocus()));

but can't understand how to use it in source code and in this tutorial:
http://www.waveprotocol.org/code/tutorials/writing-a-doodad


Антон Старцев
______________________________________________________________________
[email protected] | www.artlebedev.ru

Reply via email to