Adjusting the width of rendered lines happens automatically with CSS

This commit is contained in:
Corey Johnson
2012-07-16 09:17:43 -07:00
parent 3e3bc99161
commit 629525383e

View File

@@ -339,7 +339,6 @@ class Editor extends View
@setSoftWrapColumn() if @activeEditSession.getSoftWrap()
$(window).on "resize.editor#{@id}", =>
@updateRenderedLines()
@adjustWidthOfRenderedLines() # TODO: This should happen automatically with CSS
@focus() if @isFocused
@renderWhenAttached()