     ace = @getAce()
 
     ace.ready =>
-
-        @setContent string.getText(), no
-
-        if ace.contentChanged = ace.isCurrentContentChanged()
-          ace.emit 'FileContentChanged'
+      @setContent string.getText(), no
+
+      if ace.contentChanged = ace.isCurrentContentChanged()
+        ace.emit 'FileContentChanged'
 
 
   listenCollaborativeStringChanges: ->

    @file.on 'fs.save.finished', =>
      ace.removeModifiedFromTab()
      @updateFileModifiedTime()

    @file.on 'FileContentsNeedsToBeRefreshed', =>
      ace.fetchContents (err, content) =>

    return  unless changedString is string

    @applyChange change


  removeCollaborativeString: -> @rtm.delete 'string', @getFile().path


  isChangedByMe: (change) -> return change.isLocal
