mirror of
https://github.com/atom/atom.git
synced 2026-02-06 12:44:59 -05:00
Replace RootView.getActiveEditor() with getActiveView()
This commit is contained in:
committed by
probablycorey
parent
062adae714
commit
ff899e9c1b
@@ -8,7 +8,7 @@ describe "WrapGuide", ->
|
||||
rootView.open('sample.js')
|
||||
window.loadPackage('wrap-guide')
|
||||
rootView.attachToDom()
|
||||
editor = rootView.getActiveEditor()
|
||||
editor = rootView.getActiveView()
|
||||
wrapGuide = rootView.find('.wrap-guide').view()
|
||||
editor.width(editor.charWidth * wrapGuide.getDefaultColumn() * 2)
|
||||
editor.trigger 'resize'
|
||||
|
||||
Reference in New Issue
Block a user