The technology behind the new Google Docs editor
googledocs.blogspot.com
googledocs.blogspot.com
What I was wondering if I should do or not is create my own cursor management. The benefit of that will be better control over copy-paste, drag-drop etc. I am trying to build an undo system for Bulletxt and in some browsers, you can just drag-drop text in the same text-area without firing any keypress/up/down events. Then I have to hook on to the onupdated/onchanged events which may not offer enough granularity if you make multiple drag-drop actions. Additionally if you drag text from one textarea and drop it into the other, I can't always tell what the source was in all the browsers. Writing my own layout-engine would definitely solve that issue. Plus undo would be very easy because every mouse-click/keyboard would be an event that can be undone.
Example: create a document with two lines of tab-stopped text with varying lengths, and then export to HTML.
Can't you just place the document you're editing inside a DIV and use left and right margins for tabstops and change them with javascript? Or am I completely missing something?
Word 2010 is doing it with a different approach - multiple people can open a shared document, and it will tell you who is working, but it waits for you to save before your edits are shared with the others, and waits for you to request updating with other people's edits before changing your document around with them.
http://blogs.msdn.com/microsoft_office_word/archive/2009/09/...
Can someone explain how the new GDocs is different technically speaking ?
The new way their javascript handles everything, including how the document actually looks on the screen.
Google Beta corp is fond of releasing promising but half-arsed products, indefinitely & conveniently labeled Beta, and they seldom demonstrate any urgency to fix and improve them.