diff --git a/src/packages/command-panel/lib/operation.coffee b/src/packages/command-panel/lib/operation.coffee index 7f70b75e0..98a880380 100644 --- a/src/packages/command-panel/lib/operation.coffee +++ b/src/packages/command-panel/lib/operation.coffee @@ -16,7 +16,7 @@ class Operation @project.relativize(path) getBufferRange: -> - @getBuffer().getMarkerRange(@getMarker()) + @getMarker().getRange() execute: (editSession) -> @getBuffer().change(@getBufferRange(), @newText) if @newText