From 58c219d95c8292b820a310db22108bb2fe46c080 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 21 Sep 2015 11:37:07 +0200 Subject: [PATCH] Revert "Reset only lines state" This reverts commit 39e8920c72232f74a37c60e26b08b37c12964def. --- src/text-editor-presenter.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/text-editor-presenter.coffee b/src/text-editor-presenter.coffee index 13cc911e4..48b685dc5 100644 --- a/src/text-editor-presenter.coffee +++ b/src/text-editor-presenter.coffee @@ -74,9 +74,10 @@ class TextEditorPresenter @updateEndRow() @updateLineDecorations() if @shouldUpdateDecorations - @updateTilesState() if @shouldUpdateLinesState + @updateTilesState() if @shouldUpdateLineNumbersState or @shouldUpdateLinesState @shouldUpdateLinesState = false + @shouldUpdateLineNumbersState = false @state