-{Range, CompositeDisposable, Disposable}  = require 'atom'
+{Point, Range, CompositeDisposable, Disposable}  = require 'atom'
 path = require 'path'
 semver = require 'semver'
 fuzzaldrin = require 'fuzzaldrin'

  bufferSaved: =>
    @hideSuggestionList() unless @autosaveEnabled

  bufferChangedText: =>
    if @shouldActivate
      @cancelHideSuggestionListRequest()
      @requestNewSuggestions()
    else

    return if @shouldActivate
    return @hideSuggestionList() if @compositionInProgress

    if @autoActivationEnabled or @suggestionList.isActive()
      # Activate on space, a non-whitespace character, or a bracket-matcher pair.
      if newText.length > 0
        @shouldActivate = (newText is ' ' or newText.trim().length is 1 or newText in @bracketMatcherPairs)

      # Suggestion list must be either active or backspaceTriggersAutocomplete must be true for activation to occur.
      # Activate on removal of a space, a non-whitespace character, or a bracket-matcher pair.
      else if oldText.length > 0
        @shouldActivate =
          (@backspaceTriggersAutocomplete or @suggestionList.isActive()) and
          (oldText is ' ' or oldText.trim().length is 1 or oldText in @bracketMatcherPairs)

      @shouldActivate = false if @shouldActivate and @shouldSuppressActivationForEditorClasses()
