Can you push the knowledge of this into `AceEditor`? So that it know, when it's file is changed, to tell the ace container to update the markers? You may also want to add a check to ensure that `file` is the file currently being edited.