klogg icon indicating copy to clipboard operation
klogg copied to clipboard

Add inverted matches and allow to filter main view

Open variar opened this issue 8 years ago • 2 comments

Some requests mentioned in mailing list https://groups.google.com/d/msg/glogg-devel/lLE9qLuGK-U/Vad8nj58oxAJ and glogg issues (https://github.com/nickbnf/glogg/issues/192)

Can be done with regex, but it might be more user friendly to

  • [x] add checkbox to invert match
  • [ ] add "exclude" filter for main view
  • [x] reevaluate ideas from #5

variar avatar Dec 02 '17 22:12 variar

My personal use case is to use klogg for viewing log file a third-party program creates. That program produces a lot of irrelevant entries in the log that I would like to exclude from view. So far, I have been setting the highlighting to a very light gray so the lines appear almost empty. But that leaves me with large "empty" blocks in the log file. It would be very nice to have the feature "exclude this" for the highlighter/filter to filter out (i. e. hide from view) lines matching a certain pattern.

ilpssun avatar Oct 09 '20 08:10 ilpssun

Tried quick hack for "exclude this" filters. Didn't go well because many things depend on line numbers being equal to index in array, without gaps. Looks like this feature will require refactoring internal data structures.

variar avatar Oct 20 '20 08:10 variar