           scrollPastEnd   : yes
           cursorHeight    : 1
           tabSize         : 2
-          mode            : @_mode ? "coffeescript"
+          mode            : @_mode
           extraKeys       :
             "Cmd-S"       : @bound "handleSave"
             "Ctrl-S"      : @bound "handleSave"

class DevToolsEditorPane extends CollaborativeEditorPane

  constructor:(options = {}, data)->
    options.cssClass = 'devtools-editor'
    super options, data

  createEditor: (callback)->


        callback?()

        @emit 'ready'
        @loadLastOpenFile()

  openFile: (file, content)->
    @storage.setValue "lastFileOn#{@_mode}", file.path
    super

    path = (FSHelper.plainPath file.path).replace \
