Use new API to destroy markers in snippets package

This commit is contained in:
Nathan Sobo
2013-04-29 10:30:20 -06:00
parent 2d1cb8b519
commit db0676cc51

View File

@@ -64,7 +64,7 @@ class SnippetExpansion
destroy: ->
@unsubscribe()
@editSession.destroyMarker(marker) for marker in @tabStopMarkers
marker.destroy() for marker in @tabStopMarkers
@editSession.snippetExpansion = null
restore: (@editSession) ->