Reverse Each Line

From TED Notepad
Revision as of 16:02, 2 May 2011 by Jsimlo (talk | contribs) (Created page with '<noinclude>{{manversion|5.3.0.2}}__NOTOC__</noinclude> ====Each Line (Ctrl+Shift+G)==== Reverses each {{defined|line}} of the selection by exchanging its first character with it…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You see work in progress here; this section already reflects future TED Notepad version 5.3.0.2.
This section may contain incomplete, premature, or mistaken information, prone to change without notice.

Each Line (Ctrl+Shift+G)

Reverses each line of the selection by exchanging its first character with its last character, the second with the penultimate, etc.

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