Merge branch 'master' of github.com:github/atom

This commit is contained in:
Nathan Sobo
2012-03-08 19:32:32 -07:00
3 changed files with 16 additions and 7 deletions

View File

@@ -214,7 +214,7 @@ class Editor extends View
@getLineElement(row).remove()
getLineElement: (row) ->
@lines.find("div.line:eq(#{row})")
$(@lines[0].querySelector("div.line")[row])
toggleSoftWrap: ->
@setSoftWrap(not @softWrap)