Skip to content

Find content should not clear filtered rows #169

@stsymbaliuk

Description

@stsymbaliuk

Or in other words: Find content matching regex and highlight matches should work in filtered rows if filter applied with &<regex>.

Current behaviour:

  • Open file cars_100.csv
  • Filter rows with "Bronze": &Bronze;
  • Search for "Subaru": /Subaru;
  • Filter cleared, text on line 20 is found.
    Image

Expected behaviour:

  • Open file cars_100.csv
  • Filter rows with "Bronze": &Bronze;
  • Search for "Subaru": /Subaru;
  • Filter should not be cleared. Search should be performed only for filtered lines. Text on line 43 should be found.

In my opinion current behaviour should be changed. csvlens should work with filtered text in a similar way as less or bat.

Demo for less utility:
Image

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