From 98a3bb475b9b2b7448b9ff68e79866ce99cc29a2 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 30 Sep 2013 14:54:40 -0700 Subject: [PATCH] Fix for non-extant lines --- src/editor.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor.coffee b/src/editor.coffee index ba18118a9..9603f7357 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -1514,6 +1514,7 @@ class Editor extends View lineElement = existingLineElement = line[0] unless existingLineElement lineElement = @buildLineElementForScreenRow(actualRow) + line = $(lineElement) @renderedLines.append(lineElement) left = @positionLeftForLineAndColumn(line, column) unless existingLineElement