     @removeAllCursorWidgets()
 
 
-  makeReadOnly: ->
-
-    @getEditor()?.setReadOnly yes
-
-
-  makeEditable: ->
-
-    @getEditor()?.setReadOnly no
+  makeReadOnly: -> @getEditor()?.setReadOnly yes
+
+
+  makeEditable: -> @getEditor()?.setReadOnly no
 
 
   handleSaveFailed: (err) ->

    if state
    then ace.focus()
    else ace.blur()


  getContent: ->

    return if @getEditor() then @getAce().getContents() else ''


  setContent: (content, emitFileContentChangedEvent = yes) ->

    @getAce().setContent content, emitFileContentChangedEvent


  getCursor: ->

    return @getEditor().selection.getCursor()


  setCursor: (positions) ->

    @getEditor().selection.moveCursorTo positions.row, positions.column


  getFile: ->

    return @aceView.getData()


  getInitialChangeObject: ->

      @save ignoreActiveLineOnTrim: yes


  save: (options = {}) -> @getAce().requestSave options


  getAce: -> return @aceView.ace


  getEditor: -> return @getAce().editor


  getEditorSession: -> return @getEditor().getSession()


  getValue: -> return  @getEditorSession().getValue()


  goToLine: (lineNumber) -> @getAce().gotoLine lineNumber


  getAceScrollTop: -> @getEditorSession().getScrollTop()


  setAceScrollTop: (top) -> @getEditorSession().setScrollTop top


  getContent: -> return if @getEditor() then @getAce().getContents() else ''


  setContent: (content, emitFileContentChangedEvent = yes) ->

    @getAce().setContent content, emitFileContentChangedEvent


  getCursor: -> return @getEditor().selection.getCursor()


  setCursor: (positions) ->

    @getEditor().selection.moveCursorTo positions.row, positions.column


  getFile: -> return @aceView.getData()


  setFocus: (state) ->
