<cr>

Joerg Fischer jf505 at gmx.de
Fri Apr 11 19:38:13 CEST 2008


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..

Cheers,
Jörg


More information about the Discuss mailing list