📝 Remove FIXME in Editor::transpose

This commit is contained in:
Kevin Sawicki
2013-12-03 11:14:58 -08:00
parent 867aaa8f95
commit 80cc881912

View File

@@ -1251,11 +1251,9 @@ class Editor
# Public: Transposes the current text selections.
#
# FIXME: I have no idea what this function does.
#
# This only works if there is more than one selection. Each selection is transferred
# to the position of the selection after it. The last selection is transferred to the
# position of the first.
# The text in each selection is reversed so `abcd` would become `dcba`. The
# characters before and after the cursor are swapped when the selection is
# empty so `x|y` would become `y|x` where `|` is the cursor location.
transpose: ->
@mutateSelectedText (selection) =>
if selection.isEmpty()