marking one or more columns

4 views
Skip to first unread message

bruno.d...@gmail.com

unread,
Mar 15, 2012, 6:08:38 PM3/15/12
to sem...@googlegroups.com
Hi everyone,

i would like to edit a txt file by columns. i know that it's possible to mark a column by using alt+k key-shortcut, but after i know i have to use the keys +, - and * but i don't exactly know how to combine them.

can someone help me ?

really thanks.

sorry, i've succeeded by using the arrows keys. and after i'll try to findout how to edit the content of them, i guess the del key can delete the text, but i'd like to know how to type something to apply it to the marked text.

and finally how to print on the text line numbers.

for example i have a listing with some songs in a txt file.

i would like to add to the beginning of each line a number like 01, 02, 03 etc... i don't know how to do that automatically.

(let's say that the files list is already sorted by track number)

thank you for any further help.

knud van eeden

unread,
Mar 16, 2012, 8:13:10 AM3/16/12
to sem...@googlegroups.com
but i'd like to know how to type something to apply it to the marked text.

The movement of the cursor keys will not be automatically be restricted to the column only.

By default it is thus not so that you can select a block and then the cursor will stay only within that block.

Note: one could probably write some macros for that, which limit editing movement to stay
within the highlighted block only. 

Not sure if such a macro maybe exists already.

===

> i would like to add to the beginning of each line a number like 01, 02, 03 etc... i don't know how to do that automatically.

In my TSE Potpourri menu ('Escape' > 'Util' > 'Potpourri') there is a macro called

  FillNum

This will fill a column block with a sequence of numbers (e.g. your line numbers).

But not fully automatically adding line numbers (e.g. when you should press <ENTER>.

Default you will thus have to highlight your column block, then run this macro filling in the data first.

As a workaround you could e.g. automate it as usual using a keyboard macro for it
('Escape' > 'Macro' > 'Record Key Macro')

with friendly greetings,
Knud van Eeden
  



From: "bruno.doutriaux
To: sem...@googlegroups.com
Sent: Thursday, March 15, 2012 11:08 PM
Subject: [TSE] marking one or more columns

knud van eeden

unread,
Mar 16, 2012, 8:17:40 AM3/16/12
to sem...@googlegroups.com
> marking one or more columns

You can further only mark one column at the time.

Marking more than one column simultaneously is not possible, as far as I know.



From: knud van eeden <knud_va...@yahoo.com>
To: "sem...@googlegroups.com" <sem...@googlegroups.com>
Sent: Friday, March 16, 2012 1:13 PM
Subject: Re: [TSE] marking one or more columns
Reply all
Reply to author
Forward
0 new messages