Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed with column Dynamic filter wrong matches #188

Open
poetaman opened this issue Feb 22, 2021 · 0 comments
Open

Fixed with column Dynamic filter wrong matches #188

poetaman opened this issue Feb 22, 2021 · 0 comments

Comments

@poetaman
Copy link

poetaman commented Feb 22, 2021

I tested Fixed with columns with dynamic filters, and they do not seem set things up correctly. Here's the sample file I used:

vvrv        dewfwe      rf      
a           frv         fe      
rvbrrr      reerbe      frvrbr  
rrr         a           affe    
dfff        qdf         aaaadff 

Using "Setup using a Wizard" :CSVFixed, I selected boundary after 1st, 2nd, and 3rd column. Try repeating that, and hit <CR> on some random cells (to dynamically filter rows), you will see that there will be false positive filter matches (even though nothing really matches in the above table).

Screen Shot 2021-02-22 at 7 25 50 AM

As a side note, the setup wizard is quite fragile, and accidentally pressing a key that the wizard is not expecting throws a bunch of errors. I think the errors are thrown more often if the rows are not really same width (for which there should be a warning/error before starting the wizard or perhaps an option to correct it by padding with trailing spaces to make all row lengths match). But anyway, errors get thrown even if that is not the case. Like, while hitting down arrow key couple times by mistake leads to:

Error detected while processing function csv#MoveCol[40]..csv#GetColPat:
line   17:
E684: list index out of range: 0
line   22:
E121: Undefined variable: pat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant