lib/autocomplete-manager.js
// data - An {Object} containing information on why the cursor has been moved
An {Object} containing information on why the cursor has been moved
An { Object } containing information on why the cursor has been moved
cursorMoved ({textChanged}) {
    if (!textChanged && !this.shouldActivate) { return this.requestHideSuggestionList() }
  }
cursorMoved ( { textChanged } ) { if ( ! textChanged && ! this . shouldActivate ) { return this . requestHideSuggestionList ( ) } }
data - An {Object} containing information on why the cursor has been moved
data - An { Object } containing information on why the cursor has been moved
// The delay is a workaround for the backspace case. The way atom implements // backspace is to select left 1 char, then delete. This results in a // cursorMoved event with textChanged == false. So we delay, and if the // bufferChanged handler decides to show suggestions, it will cancel the // hideSuggestionList request. If there is no bufferChanged event, // suggestionList will be hidden.