Port .selectLinesContainingCursors() specs

This commit is contained in:
Antonio Scandurra
2015-09-23 09:57:06 +02:00
parent 57a006d19b
commit 7f3160eba6
3 changed files with 19 additions and 14 deletions

View File

@@ -231,6 +231,12 @@ class TextEditorElement extends HTMLElement
setScrollBottom: (scrollBottom) ->
@component.setScrollBottom(scrollBottom)
scrollToTop: ->
@setScrollTop(0)
scrollToBottom: ->
@setScrollBottom(Infinity)
getScrollTop: ->
@component.getScrollTop()