From 4fb19bf9cca69e5cb150867f83af74e5e72a8633 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 16 May 2012 12:31:59 -0700 Subject: [PATCH] Fixes bug in benchmarks Need to investigate further --- src/app/editor.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/editor.coffee b/src/app/editor.coffee index 18e1fa0c6..6ad60fe92 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -231,6 +231,7 @@ class Editor extends View afterAttach: (onDom) -> return if @attached or not onDom @attached = true + @clearLines() @subscribeToFontSize() @calculateDimensions() @setMaxLineLength() if @softWrap