Fixes bug in benchmarks

Need to investigate further
This commit is contained in:
Corey Johnson
2012-05-16 12:31:59 -07:00
parent 8e808ae3c1
commit 4fb19bf9cc

View File

@@ -231,6 +231,7 @@ class Editor extends View
afterAttach: (onDom) ->
return if @attached or not onDom
@attached = true
@clearLines()
@subscribeToFontSize()
@calculateDimensions()
@setMaxLineLength() if @softWrap