Hi Folks!
I have a registered version of TextPad and I'm having an issue.
Whenever using search and replace I often paste the replacement data into the box. The problem is that if it's more then one line textpad always inserts a /n after each line.
This /n then shows up in the pasted text
Am I doing something wrong or is there a way to stop it from doing that?
Thanks!
Getting rid of the /n's when I paste...
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Getting rid of the /n's when I paste...
Best Regards;
Marvin Miller
Marvin Miller
Marvin,
Selecting the "Regular expression" option in the Replace dialog should fix it. That allows "\n" to be recognised as a new line character.
It's unfortunate that when the option is off, TextPad inserts "\n"s into the Find and Replace fields because they're only meaningful when regular expressions are on, but once you understand the problem it's easy to work around it.
Andrew
Selecting the "Regular expression" option in the Replace dialog should fix it. That allows "\n" to be recognised as a new line character.
It's unfortunate that when the option is off, TextPad inserts "\n"s into the Find and Replace fields because they're only meaningful when regular expressions are on, but once you understand the problem it's easy to work around it.
Andrew