Google Wave used operational transformation in their protocol[1]. I've always assumed that the lessons learned on Wave got reused in the Google Docs rewrite.
[1] http://www.waveprotocol.org/whitepapers/operational-transfor...
Not sure if this is what you're looking for but I've been working on a collaborative coding environment for clojurescript lately and am implementing the algorithm from this (incredibly readable) paper https://neil.fraser.name/writing/sync/
[1] https://en.wikipedia.org/wiki/Operational_transformation
[2] http://martinfowler.com/eaaDev/EventSourcing.html