Fix bug where short folded lines don't always span the scroll view

This commit is contained in:
Nathan Sobo
2012-07-25 15:32:15 -06:00
parent 1886b2a48e
commit 7dc9b2dbf5

View File

@@ -661,7 +661,7 @@ class Editor extends View
if width > @scrollView.width()
@renderedLines.width(width)
else
@renderedLines.width("inherit")
@renderedLines.css('width', '')
handleScrollHeightChange: ->
scrollHeight = @lineHeight * @screenLineCount()