Use new marker API to get marker ranges in command panel operations

This commit is contained in:
Nathan Sobo
2013-04-29 10:34:06 -06:00
parent db0676cc51
commit b16529bf9f

View File

@@ -16,7 +16,7 @@ class Operation
@project.relativize(path)
getBufferRange: ->
@getBuffer().getMarkerRange(@getMarker())
@getMarker().getRange()
execute: (editSession) ->
@getBuffer().change(@getBufferRange(), @newText) if @newText