Deleting blank lines within a selection (using a macro)
[SEC=UNCLASSIFIED]
Mike Macaskill
M.Macaskill at bom.gov.au
Thu Jan 29 23:47:58 CET 2009
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: discuss-bounces at nedit.org
> [mailto:discuss-bounces at nedit.org] On Behalf Of Randy Kramer
> Sent: Friday, 30 January 2009 7:16 AM
> To: discuss at nedit.org
> 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 - Discuss at nedit.org
> http://www.nedit.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list