Skip to content

Commit

Permalink
🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
as-cii committed Sep 30, 2015
1 parent 8bed86f commit c1ef87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text-editor-element.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class TextEditorElement extends HTMLElement
@component?.getHorizontalScrollbarHeight() or 0

getVisibleRowRange: ->
@component?.getVisibleRowRange() or 0
@component?.getVisibleRowRange() or [0, 0]

intersectsVisibleRowRange: (startRow, endRow) ->
[visibleStart, visibleEnd] = @getVisibleRowRange()
Expand Down

0 comments on commit c1ef87a

Please sign in to comment.