     @modified
 
   contentDifferentOnDisk: ->
-    fs.read(@file.getPath()) != @getText()
+    @contentOnDisk != @getText()
 
   getAnchors: -> new Array(@anchors...)
 

      @trigger "path-change", this

  reload: ->
    @setText(fs.read(@file.getPath()))
    @modified = false
    @modifiedOnDisk = false


    if path
      throw "Path '#{path}' does not exist" unless fs.exists(path)
      @setPath(path)
      @contentOnDisk = fs.read(@getPath())
      @setText(@contentOnDisk)
    else
      @setText('')

