mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use new marker API to get marker ranges in command panel operations
This commit is contained in:
@@ -16,7 +16,7 @@ class Operation
|
||||
@project.relativize(path)
|
||||
|
||||
getBufferRange: ->
|
||||
@getBuffer().getMarkerRange(@getMarker())
|
||||
@getMarker().getRange()
|
||||
|
||||
execute: (editSession) ->
|
||||
@getBuffer().change(@getBufferRange(), @newText) if @newText
|
||||
|
||||
Reference in New Issue
Block a user