Difference between revisions of "Reverse tools"

From TED Notepad
 
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

This section is up to date for TED Notepad version 6.3.1.0.
Control page Control:menu:Reverse tools

Text (Ctrl+Shift+J)

[Section link: Reverse Text]

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...

Example:
Dog lived on, devil god.
Result:
.dog lived ,no devil goD

Order of Lines (Ctrl+Shift+R)

[Section link: Reverse Order of Lines]

Reverses line order within the selection by exchanging the first line with the last line, the second with the penultimate, etc.

Example: (Stupidnejsi priklad som uz asik najst nemohol, co? :-)
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.
Result:
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)

[Section link: Reverse Order of Words]

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.

Example:
There is no place like 127.0.0.1!
Result:
!1.0.0.127 like place no is There

Each Word (Ctrl+Shift+B)

[Section link: Reverse Each Word]

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.

Example:
Dog lived on, devil god..
Result:
goD devil no, lived dog..

Each Line (Ctrl+Shift+G)

[Section link: Reverse Each Line]

Reverses each line of the selection separately in its original position.

Note: The order of lines is not changed.

Example: (Stupidny priklad zo vcera pokracuje...)
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.
Result:
.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.

Example:
There is no place like 127.0.0.1!
Result:
place no is There !1.0.0.127 like