mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Remove unused methods from Fold
This commit is contained in:
@@ -15,9 +15,6 @@ class Fold
|
||||
destroy: ->
|
||||
@renderer.destroyFold(this)
|
||||
|
||||
getRange: ->
|
||||
throw "Don't worry about this yet -- sobo"
|
||||
|
||||
getBufferDelta: ->
|
||||
new Point(@endRow - @startRow + 1, 0)
|
||||
|
||||
@@ -44,12 +41,4 @@ class Fold
|
||||
return row if row < oldRange.start.row
|
||||
|
||||
deltaFromOldRangeEndRow = row - oldRange.end.row
|
||||
newRange.end.row + deltaFromOldRangeEndRow
|
||||
|
||||
compare: (other) ->
|
||||
other
|
||||
# startComparison = @start.compare(other.start)
|
||||
# if startComparison == 0
|
||||
# other.end.compare(@end)
|
||||
# else
|
||||
# startComparison
|
||||
newRange.end.row + deltaFromOldRangeEndRow
|
||||
Reference in New Issue
Block a user