Use editor.onDidStopChanging, not editor.getBuffer().onDidStopChanging
MODIFY
lib/buffer-search.js
lib/buffer-search.js
@@ -31,7 +31,7 @@ class BufferSearch {
if (this.subscriptions) this.subscriptions.dispose();
if (this.editor) {
this.subscriptions = new CompositeDisposable;
- this.subscriptions.add(this.editor.getBuffer().onDidStopChanging(this.bufferStoppedChanging.bind(this)));
+ this.subscriptions.add(this.editor.onDidStopChanging(this.bufferStoppedChanging.bind(this)));
this.subscriptions.add(this.editor.onDidAddSelection(this.setCurrentMarkerFromSelection.bind(this)));
this.subscriptions.add(this.editor.onDidChangeSelectionRange(this.setCurrentMarkerFromSelection.bind(this)));
this.resultsMarkerLayer = this.resultsMarkerLayerForTextEditor(this.editor);

Use editor.onDidStopChanging, not editor.getBuffer().onDidStopChanging