I haven’t seen any official documentation on this, and I haven’t seen any practical use for Edit -> Text -> Transpose
(Ctrl+T).
The only thing I noticed is that this command passes the character to the left of the cursor to the right and vice versa.
Anything else?
How to use Transpose (Ctrl+T)?
rogeriodec
#1
0 Likes
kingkeith
#2
from the docstring of the transpose command:
"""
- empty selection, cursor within a word: transpose characters
- empty selection, cursor at the end of a word: transpose words
- multiple selections, all empty: as above
- multiple selections, at least one non-empty: rotate contents of selections
(i.e., each selection takes on the contents of the selection before it)
- single non-empty selection: do nothing
"""
i.e. useful for swapping argument order when calling a function, or rotating text between selections
1 Like
rogeriodec
#3
Thanks,
It’s really useful for arguments.
However, it seems this option is not working:
0 Likes