mirror of
https://github.com/atom/atom.git
synced 2026-02-07 05:05:02 -05:00
Rename Buffer.numLines to Buffer.getLineCount
This commit is contained in:
@@ -9,7 +9,7 @@ class AceFoldAdaptor
|
||||
@buffer.lineForRow(bufferRow)
|
||||
|
||||
getLength: ->
|
||||
@buffer.numLines()
|
||||
@buffer.getLineCount()
|
||||
|
||||
$findClosingBracket: (bracketType, bufferPosition) ->
|
||||
@highlighter.findClosingBracket([bufferPosition.row, bufferPosition.column - 1])
|
||||
|
||||
@@ -76,7 +76,7 @@ class Buffer
|
||||
rangeForRow: (row) ->
|
||||
new Range([row, 0], [row, @lineLengthForRow(row)])
|
||||
|
||||
numLines: ->
|
||||
getLineCount: ->
|
||||
@getLines().length
|
||||
|
||||
getLastRow: ->
|
||||
|
||||
Reference in New Issue
Block a user