MikePSPad:
--------------------------------------------------------------------------------
Thank you very much for your explanation and your suggestion *myf*.

Do you know of a plugin that can do "column insert/replace" as well? I like that
PSPad can do "column select/cut" but it's too bad I can't do "column insert".

Thanks,

Mike.
--------------------------------------------------------------------------------


Hi,
there is probably no possibility for column editing in the sense, that you
select multiple lines at a given column and type some text simultaneously to
these lines.
However, there is 
Edit: Lines manipulation: Insert text into lines (Alt+I)
which can insert text at the beginning, end or a given column of multiple
lines.
The dialog item: "Before character number lets" you set the column where to
insert the text (from the lines begin); there is even a hint with the current
cursor position, if you click on this number, it is set as a column value for
the insertion.

If you can formulate your insert as replace, you can use search and replace
function on a previously selected column area. e.g.:
column-select the 25 column:
1_25_67
1_25_67
1_25_67

replace:
25 with 2345 scope: (x) selected text - gives:

1234567
1234567
1234567

(However, for some reason, this doesn't seem to work with regular expressions,
which would enable some wider possibilities.)

(For what is it worth, my older, rather user-unfriendly script
http://www.vbr.wz.cz/pspad/poor-man-s-REplace.html
also allows replacement of the column selection like this:
a_bc_d
e_fg_h
i_jk_l

ab-cd
ef-gh
ij-kl

using the pattern 

/(.)(.)/g, "$1-$2"

for regex replace.
However, use at your own risk, as there can be problems with larger text
portions, unicode handling, linends etc. in the javascript interface.)

hth,
  vbr

-- 
<http://forum.pspad.com/read.php?2,58219,58283>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem