Revert "Append wrap guide to editor element"

This reverts commit 5301b29649.

This caused the wrap guide not to scroll correctly when lines
scroll.
This commit is contained in:
Kevin Sawicki
2012-09-26 16:57:59 -07:00
parent 871a230b03
commit e5310ae7b5
2 changed files with 4 additions and 4 deletions

View File

@@ -12,8 +12,8 @@ class WrapGuide extends View
@appendToEditorPane(rootView, editor)
@appendToEditorPane: (rootView, editor) ->
if parent = editor.pane()?.find('.editor')
parent.append(new WrapGuide(rootView, editor))
if lines = editor.pane()?.find('.lines')
lines.append(new WrapGuide(rootView, editor))
@content: ->
@div class: 'wrap-guide'