title: Ace editor trigger event using javascript
body: <p>Is there anything like </p>
  
  <pre><code>editor.getSession.trigger('change')
  </code></pre>
  
  <p>the reason I want this is because the editor goes in and out of new, so when It comes back into view I need it to do its normal 'change' thing, but I dont want to wait for user input?</p>
  
  <p>Currently I have </p>
  
  <pre><code>editor.getSession().on('change', function(){
      editorChangeHandler()
  })
  </code></pre>
  
  <p>and I just recall </p>
  
  <pre><code>        editorChangeHandler()
  </code></pre>
  
  <p>when I need to, but <code>editor.getSession.trigger('change')</code> is much nicer.</p>