RE: Deleting blank lines within a selection (using a macro) [SEC=UNCLASSIFIED]

"Mike Macaskill" <[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
FYI, I created the macro using:

Learn Keystrokes (Alt+K)
Select text
Replace using the regex '^[ |\t]*\n' 
Finish Learn (Alt+K)
Preferences->Default Settings->Customise Menus->Macro menu (I don't know
the hot key for this)
Paste learn/Replay Macro
Then you can can give the macro a menu entry in the text box and
save it by hitting the OK button
Voila!!
Hope this helps!!


Mike Macaskill
NCC Computing Support
Tel 9669 4265 Fax 9669 4760
 
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Randy Kramer
> Sent: Friday, 30 January 2009 10:14 AM
> To: General NEdit discussion list
> Subject: Re: Deleting blank lines within a selection (using a 
> macro)[SEC=UNCLASSIFIED]
> 
> On Thursday 29 January 2009 05:47 pm, Mike Macaskill wrote:
> > replace_in_selection("^[ |\\t]*\\n", "", "regexNoCase")
> 
> Mike,
> 
> Perfect--thank you!
> 
> Randy Kramer
> -- 
> I didn't have time to write a short letter, so I created a video 
> instead.--with apologies to Cicero, et.al.
> -- 
> NEdit Discuss mailing list - [email protected]
> http://www.nedit.org/mailman/listinfo/discuss
> 
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.