The cursor is handled by an annotation. See Section 8.4.3.2 of the Conversation Model Specification:
http://wave-protocol.googlecode.com/hg/spec/conversation/convspec.html#anchor27 In particular, the "user/e/<session id>" annotation. Thanks, -joe On Fri, Mar 12, 2010 at 5:21 AM, sarv <[email protected]>wrote: > Hi, > > I understand that there will be a clean XML (as BufferedDocOp or > BootstrapDocument) on the client with a translated HTML on the > browser. Any operation on the browser (HTML DOM) should be reflected > on this XML document and BufferedDocOp will be constructed based on > this. The question is how do we "map" the cursor position from the > HTML DOM to this document buffer? For example, if i place the cursor > on a particular paragraph of the HTML, how do i position the index/ > cursor on the documentbuffer (BootstrapDocument) so as to construct > the DocOp?? Is it achieved through pure logics or mappings using ids > or any other "BEST" way to achieve this? > > Please help. > > Thanks, > Sarv > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<wave-protocol%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
