Remove lines filter - only processes one line range

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
DFH
Posts: 793
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Remove lines filter - only processes one line range

Post by DFH » Thu Jan 11, 2018 3:05 am

I have the following two Remove lines filters:

Code: Select all

Comment...
|  Remove top and bottom lines
|
|--Remove lines:1..133
|   
+--Remove lines:-19..-0
This works OK.

Initially, I tried to combine these as one Remove lines filter, but the second range did not get processed!

Code: Select all

Comment...
|  Remove top and bottom lines
|
+--Remove lines:1..133
-19..-0
I rather think there may be a software bug.

Even placing them on the same line with a comma separator was to no avail.

Code: Select all

Comment...
|  Remove top and bottom lines
|
+--Remove lines:1..133, -19..-0
I suspect there's something amiss in general with the Field Specification feature.

It would also be useful if the context help page for the Remove lines filter had a link to this page.
cf. The link is found (e.g.) in the context help for the Restrict to line range filter.

Best regards,

David

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

Re: Remove lines filter - only processes one line range

Post by DataMystic Support » Sun Jan 28, 2018 6:01 pm

This filter is not intended to support multiple ranges. We have added additional error checks so that in future there is an alert for this.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 793
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Remove lines filter - only processes one line range

Post by DFH » Tue Jan 30, 2018 2:01 am

That the UI presents a multiline pane rather than a single line is therefore misleading.

How many other filters are like this?

David

Post Reply