Page 1 of 1
Filter By Selection not working with multiple items
Posted: 07 Jan 2022 13:50
by stphn17
Hi,
just noticed that, if you select multiple items and apply "Filter By Selection" (Alt+Shift+J) it's not working. No items are shown.
I checked, and it's because there are spaces between the OR-Delimiter "|".
Example:
"File 1" | "File 2" doesnt work
"File 1"|"File 2" works
Re: Filter By Selection not working with multiple items
Posted: 07 Jan 2022 14:37
by admin
A assume the VFAllowSinglePipeOR=1 tweak it set at your end:
Code: Select all
v22.20.0220 - 2021-09-23 14:47
* Visual Filters: Removed a singular inconsistency with Visual Filters and
Live Filters. They were the only places where surrounding spaces for |
(for Boolean OR) were not mandatory. Now they are mandatory.
This change might break some of your code but consistency pays off in the
long run. If you want to preserve the old state, here's a tweak:
VFAllowSinglePipeOR=1
For upgraders the tweak is set automatically (XY never breaks old code).
But it's recommended to set it to 0 so you are guided to full consistency
and can safely share patterns with new users for whom surrounding spaces
are mandatory.
But of course it should work anyway with that tweak set. Next beta will fix it.
Re: Filter By Selection not working with multiple items
Posted: 07 Jan 2022 17:37
by stphn17
Yes, that setting was activated. But I don't remember activating it, but I guess that's due to the fact that it's by default enabled according to the comment.
By the way, while we are at it: The NOT operator "!" doesn't seem to be working for Live Filter. Is that intentional?
Re: Filter By Selection not working with multiple items
Posted: 07 Jan 2022 17:58
by admin
This makes the difference: Configuration | Find and Filter | Filters & Type Ahead Find | Live Filter Box | Enable extended pattern matching
Re: Filter By Selection not working with multiple items
Posted: 09 Jan 2022 11:06
by stphn17
Thanks a lot!