diff --git a/src/text-editor-presenter.coffee b/src/text-editor-presenter.coffee index f5ca2bd6e..ae5a51a0d 100644 --- a/src/text-editor-presenter.coffee +++ b/src/text-editor-presenter.coffee @@ -129,7 +129,7 @@ class TextEditorPresenter @shouldUpdateCustomGutterDecorationState = true @emitDidUpdateState() - @model.onDidUpdateMarkers => + @disposables.add @model.onDidUpdateMarkers => @shouldUpdateLinesState = true @shouldUpdateLineNumbersState = true @shouldUpdateDecorations = true