Is there anything like
editor.getSession.trigger('change')
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?
Currently I have
editor.getSession().on('change', function(){
editorChangeHandler()
})
and I just recall
editorChangeHandler()
when I need to, but editor.getSession.trigger('change') is much nicer.