Re: [WebODF] Adding spec property "setOwnCursor" for Insert/Remove/Split ops
Hey Friedrich, Sorry no i just accidently replied only to your email address, instead of the mailinglist :-) I'm using jinfinote already in combination with codemirror(https://github.com/l3mon/l3mon/blob/master/public/browser/lib/mueditor.js) It works ok, but could have some improvements. For instance, codemirror uses line positioning while jinfinote expects a char position in comparison to the whole text. The diff-match-patch part should probably be replaced by something more codemirror'ish but it kinda works for now. Hope something like this is possible for webodf as well! Jinfinote also supports undo by the way, which is pretty neat. cheers, jeroen 2013/6/19 Friedrich W. H. Kossebau <friedrich@kogmbh.com>:
Hi Jeroen,
(your email offlist on purpose?)
Am Mittwoch, 19. Juni 2013, 11:40:30 schrieb Jeroen van Veen:
Hi,
You guys are probably already aware of these ot-resources, but i'll add them anyway just in case :-)
Thanks, aware, but did not study these ones yet (there are tons of documents out there on the tubes). And at one point trying beats studying :)
But your email made me at least take a glance at the Infinote protocol, and I could learn that they have two variants per document-modifying op, e.g. <insert/> and <insert-caret/> or <delete/> and <delete-caret/>, where each *- caret variants "additionally places the cursor of the user that made the request". So at least one reference for the "setOwnCursor" property solution :)
Cheers Friedrich -- Friedrich W. H. Kossebau // KO GmbH http://kogmbh.com/legal/
participants (1)
-
Jeroen van Veen