     keyboardHandler     : @getKeyboardHandler()
     scrollPastEnd       : @getScrollPastEnd()
     openRecentFiles     : @getOpenRecentFiles()
+    enableAutocomplete  : @getEnableAutocomplete()
 
   ###
   SETTERS

  getOpenRecentFiles:->
    @appStorage.getValue('openRecentFiles') ? yes

  getSettings:->
    theme               : @getTheme()
    syntax              : @getSyntax()


  setOpenRecentFiles:(value, save = yes)->
    @appStorage.setValue 'openRecentFiles', value

  setEnableAutocomplete:(value, save = yes)->

    requirejs ['ace/ext-language_tools'], =>
      @editor.setOptions
        enableBasicAutocompletion: value
        enableSnippets: value
    return  unless save
    @appStorage.setValue 'enableAutocomplete', value

  gotoLine: (lineNumber) ->
    @editor.gotoLine lineNumber
