Re: How to add text on multiple lines (without using the Replace menu).

"eric.bouyoux" <[email protected]> Thu, 17 Feb 2011 16:43:37 +0100
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
On Thu, 17 Feb 2011 04:12:27 -0500, "Aaron W. Hsu" <[email protected]>
wrote:
> On Thu, 17 Feb 2011 03:45:38 -0500, eric.bouyoux <[email protected]> 

> wrote:
> 
>> Select all first characters of each line by column (with Ctrl + Left
>> mouse)
>> Then enter the text to add once. This text is automatically inserted in
>> real time on all lines.
> 
> I do not think that you can get this with the live update, but you can  
> bind a macro to do "Prefixing" operations, and there you can have the  
> macro raise a dialog to prompt for the text once. That hides away any  
> search and replace things.

OK. I'll see what I can do. I need to learn nedit macro language first ...
> 
> You can also use a UNIX filter. I have also done a keyboard recording
for  
> this sort of thing.

I don't see how I can use a UNIX filter to do the job.
For keyboard recording, I don't think it will work as the text can change
each time.

> 
> 	Aaron W. Hsu
> 
> -- 
> Programming is just another word for the lost art of thinking.
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss