From b16529bf9f4c951eb45856df9ccf413a5b3ddb56 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 29 Apr 2013 10:34:06 -0600 Subject: [PATCH] Use new marker API to get marker ranges in command panel operations --- src/packages/command-panel/lib/operation.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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