
Padre::Plugin::Swarm::Wx::Editor - Padre editor/network integration

Hijack the padre editor for the purposes of co-operative editing.


Trap the editor CHANGE event and try to transmit quanta of operations against a document. Trap received quanta and apply to open documents, adjusting local quanta w/ OT if required.
Find the current project, find it's VCS if possible and send the repo details and local diff to the swarm for somebody? to respond to.

For a given message->type
Accept an openme message and open a new editor window with the contents of message->body
Give the requested message->resource to the sender in an 'openme' if the resource matches one of our open documents.

Respond to discovery messages by transmitting a promote for each known resource
Disabled. Execute a message body with string eval
Half baked operational transform