 
   deleteSession: (path) ->
     if path is @filename
-      @filename = null      
+      @filename = null
     delete @sessions[path]
     @ace.setSession @newSession()
 

    @ace.getSession().setTabSize 2
    @ace.pane = this
    @ace.setShowInvisibles(true)

    @ace.getSession().on 'change', ->
      activeWindow.setDirty true

    return @saveAs() if not @filename

    @removeTrailingWhitespace()
    File.write @filename, @code()
    @sessions[@filename] = @ace.getSession()
    activeWindow.setDirty false
    @ace._emit 'save', { @filename }
