[ 3 posts ]

Gaurav Shrestha

  • Username: Gaurav
  • Joined: Tue Feb 23, 2010 6:37 am
  • Posts: 4
  • Offline
  • Profile

Getting the offset where changes are made.

Post Posted: Tue Feb 23, 2010 6:58 am
+0-
Hello,

I am learning to use the YUI Rich Text Editor and I have a question. I am planning to use this as a online word processor so that the user can Save their documents. When the user makes a change to their existing document, instead of sending the whole document to the server, I want to send the deltas or the difference. Is there a way to do this using offsets?

Thank you.

Gaurav

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: Getting the offset where changes are made.

Post Posted: Tue Feb 23, 2010 8:29 am
+0-
No, you have either save all of the content or do the deltas yourself. The Editor doesn't track changes that way.

Gaurav Shrestha

  • Username: Gaurav
  • Joined: Tue Feb 23, 2010 6:37 am
  • Posts: 4
  • Offline
  • Profile

Re: Getting the offset where changes are made.

Post Posted: Wed Feb 24, 2010 9:20 am
+0-
I am looking into calculating the deltas. But am having trouble figuring out how to get the offset on where the change happened with respect to the document on the server. Do you have any suggestions? -Thanks.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum