<cr>
Randy Kramer
rhkramer at gmail.com
Fri Apr 11 20:01:56 CEST 2008
On Friday 11 April 2008 01:38 pm, Joerg Fischer wrote:
> Eric.Walker at smsc.com wrote:
>
> > When I cut and paste text from a webpage into nedit I get the <cr>
> > characters. Is there a way to prevent this or to select and copy all <cr>
> > in a document to the correct type.
>
> Yes, there is. Replace Ctrl+V with the following macro
>
> txt = replace_in_string(clipboard_to_string(), "\r", "", "copy")
> string_to_clipboard(txt)
> paste_clipboard()
>
> For changing keybindings and/or macros, cf. Help->Customizing and
> Help->Macro..
I'm not the OP, but wow--I love it! I've been thinking about trying to modify
text between the copy and paste for quite a while, just never dreamed it
could be so simple (at least in NEdit).
Randy Kramer
More information about the Discuss
mailing list