Difference between revisions of "Reverse tools"
Line 1: | Line 1: | ||
− | <noinclude>{{manversion|6.0.0.16}}__NOTOC__</noinclude> | + | <noinclude>{{manversion|6.0.0.16|menu|Reverse tools}}__NOTOC__</noinclude> |
{{:Reverse Text}} | {{:Reverse Text}} | ||
{{:Reverse Order of Lines}} | {{:Reverse Order of Lines}} |
Revision as of 15:54, 25 April 2011
Text (Ctrl+Shift+J)
Reverses the selection by exchanging its first character with its last character, the second with the penultimate, etc.
Note: Multi-character newlines are always reversed as single characters.
Niekedy mam pocit, ze to vysvetlujem jak pre debilov...
Dog lived on, devil god. |
.dog lived ,no devil goD |
Order of Lines (Ctrl+Shift+R)
Reverses line
order within the selection by exchanging the first line
with the last line
, the second with the penultimate, etc.
For the 1st time, I nearly came to the door, but chickened out immediately. The 2nd time was better, I rang the doorbell and only then I chickened out. Unfortunately, by the 3rd time, I was caught. Now... ...now I am married. |
Unfortunately, by the 3rd time, I was caught. Now... ...now I am married. The 2nd time was better, I rang the doorbell and only then I chickened out. For the 1st time, I nearly came to the door, but chickened out immediately, |
Order of Words (Ctrl+Shift+Y)
Reverses order of entire words
of the selection. The words
themselves remain unreversed, only their order is changed.
Note: Any non-word character
is treated as a single word.
There is no place like 127.0.0.1! |
!1.0.0.127 like place no is There |
Each Word (Ctrl+Shift+B)
Searches the selection for words
and reverses each word
separately in its original position.
Note: The order of words
is not changed. All word delimiters
are left untouched.
Dog lived on, devil god.. |
goD devil no, lived dog.. |
Each Line (Ctrl+Shift+G)
Reverses each line
of the selection separately in its original position.
Note: The order of lines
is not changed.
For the 1st time, I nearly came to the door, but chickened out immediately. The 2nd time was better, I rang the doorbell and only then I chickened out. Unfortunately, by the 3rd time, I was caught. Now... ...now I am married. |
.yletaidemmi tuo denekcihc tub ,rood eht ot emac ylraen I ,emit ts1 eht roF .tuo denekcihc I neht ylno dna llebrood eht gnar I ,retteb saw emit dn2 ehT .deirram ma I won... ...woN .thguac saw I ,emit dr3 eht yb ,yletanutrofnU |
Order of Words on Each Line (Ctrl+Shift+F)
Reverses order of entire words
on each line
separately.
Note: The order of lines
is not changed, and words
themselves remain unreversed on their original lines
. Only the order of words on any given line is changed.
There is no place like 127.0.0.1! |
place no is There !1.0.0.127 like |