Delete is on selection now, not editor

This commit is contained in:
Corey Johnson
2012-02-01 16:46:05 -08:00
parent 14d4d5029e
commit d45c6f9926

View File

@@ -37,7 +37,7 @@ class Delete
execute: ->
if @motion
@motion.select()
@editor.delete()
@editor.getSelection().delete()
else
@editor.deleteLine()