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]>
Try
replace_in_selection("^[ |\\t]*\\n", "", "regexNoCase")

Mike Macaskill
NCC Computing Support
Australian Government
Bureau of Meteorology
Tel 9669 4265 Fax 9669 4760
 
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Randy Kramer
> Sent: Friday, 30 January 2009 7:16 AM
> To: [email protected]
> Subject: Deleting blank lines within a selection (using a macro)
> 
> I'm drawing a blank atm, and, so far, google hasn't helped me.
> 
> Anybody know how to delete blank lines within a selection (in 
> a macro)?  
> My macro has just sorted a range of lines and there may be 
> blank lines 
> that I want to get rid of.
> 
> Thanks!
> 
> 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.