mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
Remove outdated method
This commit is contained in:
@@ -699,14 +699,6 @@ class EditSession
|
||||
for row in [bufferRange.start.row..bufferRange.end.row]
|
||||
@destroyFoldsContainingBufferRow(row)
|
||||
|
||||
# Public: Given the id of a {Fold}, this removes it.
|
||||
#
|
||||
# foldId - The fold id {Number} to remove
|
||||
destroyFold: (foldId) ->
|
||||
fold = @displayBuffer.foldsById[foldId]
|
||||
fold.destroy()
|
||||
@setCursorBufferPosition([fold.startRow, 0])
|
||||
|
||||
# Public: Determines if the given row that the cursor is at is folded.
|
||||
#
|
||||
# Returns `true` if the row is folded, `false` otherwise.
|
||||
|
||||
Reference in New Issue
Block a user