Bug in text format of clipboard copy of filters

Get help with installation and running here.

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

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

Bug in text format of clipboard copy of filters

Post by dfhtextpipe »

I just observed that in a highly structured and amply commented filter,
some of the internal replace list filters are not placed in the correct nested hierarchy
when the filter is copied to clipboard and then pasted into a text file.

Rather they are flushed to the left margin.
I would count this as a software bug.

This is especially serious when such filters are sub-filters of a restrict filter,
as the text copy has then become "misleading documentation".

It's bad enough that they are not placed correctly even when all their 'ancestors' are comment filters.

David
Last edited by dfhtextpipe on Fri Mar 15, 2013 7:17 pm, edited 2 times in total.
David
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Bug in text format of clipboard copy of filters

Post by dfhtextpipe »

I have emailed an example directly to Simon Carter.

Search the text file using regexp ^\w

Lines delinquently places begin with

Code: Select all

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

Re: Bug in text format of clipboard copy of filters

Post by DataMystic Support »

Ok, this is done ready for the next release.
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Bug in text format of clipboard copy of filters

Post by dfhtextpipe »

Thanks, Simon.
David
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Bug in text format of clipboard copy of filters

Post by dfhtextpipe »

I confirm that this fix worked OK in TextPipe 9.4

David
David
Post Reply