I'm trying to create an editor plugin for Orion that would allow live editing of a file in Orion. For example if multiple people changing the same file resource I'd like to see live changes in my editor. In other words I'd like to see changes in my editor not after someone saves the resource, but as someone types characters. Suppose i have a messaging server which receives and broadcasts changes to all clients editing the same resource.
Looks like i can create a plugin for Orion editor to transmit changes to the messaging server using "orion.edit.model" extension with onModelChanging event.
How can I sync back changes from others coming from the messaging server back to my Orion editor? Is this possible with a plugin?
Thanks in advance.