   fileSubscriptions: null
   backwardsScanChunkSize: 8000
   defaultMaxUndoEntries: 10000
-  changeCount: 0
   nextMarkerLayerId: 0
 
   ###

    }

    if filePath = @getPath()
      result.filePath = filePath
      result.digestWhenLastPersisted = @buffer.baseTextDigest()
      result.outstandingChanges = @buffer.serializeChanges()
    else
      result.text = @getText()

  # Public: Get the entire text of the buffer.
  #
  # Returns a {String}.
  getText: -> @cachedText ?= @buffer.getText()

  # Public: Get the text in a range.
  #
