Replace List filter - pasting text containing a tab in the replace field

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dfhtextpipe
Posts: 988
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Replace List filter - pasting text containing a tab in the replace field

Post by dfhtextpipe »

This is not a major issue, but still worth reporting.

Strange things can occur when you Paste from clipboard text containing more than one tab separator. e.g.
  • a b Z
where both the separators are tabs not spaces.
This displays as bZ in the Replace field, yet copying it to the clipboard shows the tab is still there.

After a Swap, the Find column ends up displaying bZ, and copying it to the clipboard shows the tab is still there.
Yet pasting this back from the clipboard, results in b in the Find field and Za in the Replace field.

I guess this is wholly logical, but it is something the filter design has not really anticipated.

Something to consider?:
After a Paste from clipboard, converting any such extra tabs into the pattern \t in the Replace field.

Regards,

David
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Replace List filter - pasting text containing a tab in the replace field

Post by DataMystic Support »

Thanks David - I understand the issue, but I would prefer to leave the text unchanged for future copy/paste operations rather than change it to a \t. This would also happen with CSV data.
Post Reply