title: The react ace diff editor does not display a proper diff between two code snippets
body: <h2>Description</h2>
  <p>When I use react ace diff-editor I am attempting to identify the differences between two Python code snippets, but the results are not exactly the same, with some snippets showing abrupt highlighting, and others not showing proper differences</p>
  <h3>code snippets on left editor</h3>
  <pre><code>
  // Code snippet - 1
  a = 5;,
  b = 10;,
  
  
  print(a + b)
  
  ---------------------------------------------------------------------------------------
  
  // Code snippet - 2
  a = int(input())
  b= input()
  c=a
  c=b:
  x=a+b:
  
  print(x)
  </code></pre>
  <h3>code snippets on right editor</h3>
  <pre><code>// Code snippet - 1
  
  a = 5
  b = 10
  
  print(a + b
  
  ---------------------------------------------------------------------------------------
  
  // Code snippet - 2
  
  a = int(input())
  b= input()
  c=a
  c=b
  x=a+b
  print(x)
  </code></pre>
  <p>CASE 1:
  Take a look at Code snippet 1 above
  and paste the snippets in this <a href="https://manubb.github.io/react-ace-builds/diff.html" rel="nofollow noreferrer">website</a>.
  Right diff editor doesn't show the difference <code>b = 10</code> why?</p>
  <p>CASE 2:
  Take a look at Code snippet 2 above
  and paste the snippets in this <a href="https://manubb.github.io/react-ace-builds/diff.html" rel="nofollow noreferrer">website</a>.
  Right diff editor doesn't show the difference <code>x=a+b</code> why?</p>
  <p>EXPECTED :-
  If the line has been changed, then the diff should be displayed properly</p>
  <p>ACTUAL :-
  The DIFF is not displaying correctly</p>
  <p>ATTACHMENTS</p>
  <ul>
  <li><a href="https://drive.google.com/file/d/1Spr6RyA-PSDTrFcCtr2cn3YjCR_Ju_Nd/view?usp=sharing" rel="nofollow noreferrer">Click here ..</a></li>
  <li><a href="https://drive.google.com/file/d/1cs3zCIGtbTbUHHESyKj00XJWFCM07EJE/view?usp=sharing" rel="nofollow noreferrer">Click here ..</a></li>
  </ul>
  <p>You can try out In this website :- <a href="https://manubb.github.io/react-ace-builds/diff.html" rel="nofollow noreferrer">https://manubb.github.io/react-ace-builds/diff.html</a></p>
  <p>Browsers
  Chrome 97.0</p>
  <p>Platforms
  Linux</p>