mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Rename LineMap.lineCount to .screenLineCount
This commit is contained in:
@@ -94,7 +94,7 @@ class LineMap
|
||||
delta = delta.add(screenLine.bufferDelta)
|
||||
delta.rows
|
||||
|
||||
lineCount: ->
|
||||
screenLineCount: ->
|
||||
delta = new Delta
|
||||
for screenLine in @screenLines
|
||||
delta = delta.add(screenLine.screenDelta)
|
||||
|
||||
@@ -97,5 +97,6 @@ class LineWrapper
|
||||
|
||||
lineCount: ->
|
||||
@lineMap.lineCount()
|
||||
@lineMap.screenLineCount()
|
||||
|
||||
_.extend(LineWrapper.prototype, EventEmitter)
|
||||
|
||||
Reference in New Issue
Block a user