Copy / Paste Data into Columns

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
paseur
Posts: 1
Joined: Wed Oct 28, 2009 4:10 pm

Copy / Paste Data into Columns

Post by paseur »

Given this file:

AL
AK
AR

and with this in another file or in the clipboard:

Alabama
Alaska
Arkansas

How can I quickly render this:

AL Alabama
AK Alaska
AR Arkansas

Thanks, Ray
kitimat
Posts: 45
Joined: Tue Jul 20, 2004 5:44 pm

Post by kitimat »

assuming 2 files

1) turn word wrap off
2) configure | block select mode
3) copy (in block mode) one of the columns of text
4) paste it next to the other column
5) done!

Must have word wrap off to get into block mode.
As I recall you must be in block mode before you copy the text in order to get the block mode copy to work

kitimat
nvj1662
Posts: 53
Joined: Thu May 17, 2007 10:02 am

Post by nvj1662 »

configure | block mode can be toggled on & off via the keyboard short-cut <cntrl><q>, <b>.
kitimat
Posts: 45
Joined: Tue Jul 20, 2004 5:44 pm

Post by kitimat »

block mode can also be toggled on and off by double clicking the block mode indicator in the staus bar.
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

While we're listing out every conceivable shortcut... holding down the Alt key while dragging with the mouse overrides the current selection mode, so if block mode is off, Alt-dragging will select a block.
Post Reply