From b367b799bf6f247534bfbaecff20e0fda29d0284 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 21 Sep 2015 10:28:44 +0200 Subject: [PATCH] Rename to TextEditorPresenter::invalidateState --- src/text-editor-presenter.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text-editor-presenter.coffee b/src/text-editor-presenter.coffee index 6d8ae7a93..e02609105 100644 --- a/src/text-editor-presenter.coffee +++ b/src/text-editor-presenter.coffee @@ -35,7 +35,7 @@ class TextEditorPresenter @observeModel() @observeConfig() @buildState() - @invalidate() + @invalidateState() @startBlinkingCursors() if @focused @startReflowing() if @continuousReflow @updating = false @@ -128,7 +128,7 @@ class TextEditorPresenter @shouldUpdateGutterOrderState = false @shouldUpdateCustomGutterDecorationState = false - invalidate: -> + invalidateState: -> @shouldUpdateFocusedState = true @shouldUpdateHeightState = true @shouldUpdateVerticalScrollState = true