From 029d8b58db28030bd547b1e0e5022af1b23d63ed Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 30 Apr 2013 04:58:02 -0600 Subject: [PATCH] Remove outdated method --- src/app/edit-session.coffee | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app/edit-session.coffee b/src/app/edit-session.coffee index c7478f7e0..05925cf0d 100644 --- a/src/app/edit-session.coffee +++ b/src/app/edit-session.coffee @@ -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.