Skip to content

Fixed with column Dynamic filter wrong matches #188

@poetaman

Description

@poetaman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions