We all know Google Documents, right?
In Google Documents, it is possible for two users to be working on the same document. When one user changes the contents of a document, the other user will see it right away. They can even type at the same time. And changes reflect on both user’s screens.
I have been playing around with the idea to have something like that in a Xojo app. Where one user types stuff in a TextArea, and those changes are sent off to other connected users. They can also change the contents of the TextArea and those changes are sent to the other users.
But, it got really complicated. Somewhere I need to keep track of the cursor and scroll position. If another user adds something before my cursor position, I need to update my cursor. Deleting is another challenge.
Is there anybody out there with some experience with this kind of apps? What should be a good approach?