📝 Shorten and tweak comment

This commit is contained in:
Kevin Sawicki
2014-04-17 18:23:34 -07:00
parent 77641f138b
commit 0c01de350d

View File

@@ -1007,8 +1007,7 @@ class Editor extends Model
# All the changes made inside the given {Function} can be reverted with a
# single call to {::undo}.
#
# fn - A {Function} to call once per selection with the {Selection} as the
# first argument.
# fn - A {Function} that will be called with each {Selection}.
mutateSelectedText: (fn) ->
@transact => fn(selection) for selection in @getSelections()