Rename Editor.visibleLines to Editor.renderedLines

This commit is contained in:
Corey Johnson
2012-06-04 17:53:58 -07:00
parent 419d7b1dec
commit 0cfb2e9ef4
7 changed files with 255 additions and 255 deletions

View File

@@ -110,7 +110,7 @@ class Autocomplete extends View
originalCursorPosition = @editor.getCursorScreenPosition()
@filterMatches()
@editor.visibleLines.append(this)
@editor.renderedLines.append(this)
@setPosition(originalCursorPosition)
@miniEditor.focus()
@@ -128,7 +128,7 @@ class Autocomplete extends View
potentialBottom = potentialTop + @outerHeight()
if potentialBottom > @editor.scrollBottom()
@css(left: left, bottom: @editor.visibleLines.outerHeight() - top, top: 'inherit')
@css(left: left, bottom: @editor.renderedLines.outerHeight() - top, top: 'inherit')
else
@css(left: left, top: potentialTop, bottom: 'inherit')