Use active editor from root view instead of ivar

This commit is contained in:
Kevin Sawicki
2013-01-25 12:43:38 -08:00
parent e22c8d69f7
commit 126d938aeb

View File

@@ -48,5 +48,5 @@ class JumpToLineView extends View
attach: ->
@previouslyFocusedElement = $(':focus')
@rootView.append(this)
@message.text("Enter a line number 1-#{@editor.getLineCount()}")
@message.text("Enter a line number 1-#{@rootView.getActiveEditor().getLineCount()}")
@miniEditor.focus()