mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Remove duplicate getBufferRowCount() method
This commit is contained in:
@@ -43,12 +43,6 @@ class Fold
|
||||
getStartRow: ->
|
||||
@getBufferRange().start.row
|
||||
|
||||
# Retrieves the number of buffer rows a fold occupies.
|
||||
#
|
||||
# Returns a {Number}.
|
||||
getBufferRowCount: ->
|
||||
@endRow - @startRow + 1
|
||||
|
||||
# Returns the fold's end row as a {Number}.
|
||||
getEndRow: ->
|
||||
@getBufferRange().end.row
|
||||
|
||||
Reference in New Issue
Block a user