       ace.setReadOnly yes  if @getOptions().readOnly
       @bindChangeListeners()
       @emit 'EditorIsReady'
+
+      KD.singletons.appManager.tell 'IDE', 'setRealTimeManager', this
 
   save: ->
     ace.emit 'ace.requests.save', @getContent()

      @emit 'ChangeHappened', change

    ace.on 'FileContentChanged', =>
      change.type = 'ContentChange'
      change.context.file.content = @getContent()



    file.once 'fs.delete.finished', =>
      KD.getSingleton('appManager').tell 'IDE', 'handleFileDeleted', file

    @once 'RealTimeManagerSet', @bound 'listenCollaborativeStringChanges'

  createEditor: ->
    {file, content} = @getOptions()
