title: How can I get and patch diffs in ace-editor?
body: <p>I've heard Ace provides functionality to get and patch diffs, but I searched through Ace's docs, tried googling but couldn't find how to do that. </p>
  
  <p>Do Ace provide functionality to create and patch diffs of the document being editted? </p>
  
  <p>From my research, I've figured that the way to do it is using google-diff-match-patch library (<a href="https://code.google.com/p/google-diff-match-patch/" rel="nofollow">https://code.google.com/p/google-diff-match-patch/</a>). But I'd prefer using Ace's builtin mechanism if it has one.</p>