diff --git a/src/app/buffer-marker.coffee b/src/app/buffer-marker.coffee index c481ee1bd..b2c746f9c 100644 --- a/src/app/buffer-marker.coffee +++ b/src/app/buffer-marker.coffee @@ -170,7 +170,7 @@ class BufferMarker # Returns a {Boolean} indicating whether the marker has been destroyed. A marker # can be invalid without being destroyed, in which case undoing the invalidating # operation would restore the marker. Once a marker is destroyed by calling - # {Marker.destroy}, no undo/redo operation can ever bring it back. + # {BufferMarker.destroy}, no undo/redo operation can ever bring it back. isDestroyed: -> not (@buffer.validMarkers[@id]? or @buffer.invalidMarkers[@id]?) diff --git a/src/app/display-buffer-marker.coffee b/src/app/display-buffer-marker.coffee index ec0ff3f52..053d63fbc 100644 --- a/src/app/display-buffer-marker.coffee +++ b/src/app/display-buffer-marker.coffee @@ -125,7 +125,7 @@ class DisplayBufferMarker # Returns a {Boolean} indicating whether the marker has been destroyed. A marker # can be invalid without being destroyed, in which case undoing the invalidating # operation would restore the marker. Once a marker is destroyed by calling - # {Marker.destroy}, no undo/redo operation can ever bring it back. + # {BufferMarker.destroy}, no undo/redo operation can ever bring it back. isDestroyed: -> @bufferMarker.isDestroyed()