I am looking at the source code trying to figure out exactly how the editor's DOM gets updated when I type a character or make change.
I have read the design document at: http://www.waveprotocol.org/protocol/design-proposals/editor It seems EditorEventHandler.handleNormalTyping get called. This then goes into CMutableDocument.hackConsume and ContentDocument.consumeLocal which modifies the document. I am still trying to find the code that modifies the DOM, and what calls it. Any pointers or hints on where I should look into? Thanks.
