       unless err
         @notify "Successfully saved!", "success"
         @lastSavedContents = @lastContentsSentForSave
+        @emit "FileContentSynced"
         unless @askedForSave
           log "this file has changed, put a modal and block editing @fatihacet!"
         @askedForSave = no

    file.on "fs.save.started", =>
      @lastContentsSentForSave = @getContents()


    if @getOptions().enableShortcuts
      @addKeyCombo "save", "Ctrl-S", @bound "requestSave"

          if contents
            @setContents contents
            @lastSavedContents = contents
          @editor.on "change", =>
            if @isContentChanged() then @emit "FileContentChanged" else @emit "FileContentSynced"
          @editor.gotoLine 0
          @focus()
          @show()
