-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Add inverted matches and allow to filter main view #22
Comments
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. |
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. |
This commit adds new experimental feature -- combining multiple search patterns using boolean operators `and`, `or`, and `not` (#5, #22, #320). This mode is enabled by separate button in the search panel. When this mode is enabled all sub-patterns must be enclosed in `"`. `not` operator requires its pattern to be enclosed in `()`. Example of valid combination: ``` ("pattern 1" or "pattern 2) and not("pattern 3") ```
This commit adds new experimental feature -- combining multiple search patterns using boolean operators `and`, `or`, and `not` (#5, #22, #320). This mode is enabled by separate button in the search panel. When this mode is enabled all sub-patterns must be enclosed in `"`. `not` operator requires its pattern to be enclosed in `()`. Example of valid combination: ``` ("pattern 1" or "pattern 2) and not("pattern 3") ```
This commit adds new experimental feature -- combining multiple search patterns using boolean operators `and`, `or`, and `not` (#5, #22, #320). This mode is enabled by separate button in the search panel. When this mode is enabled all sub-patterns must be enclosed in `"`. `not` operator requires its pattern to be enclosed in `()`. Example of valid combination: ``` ("pattern 1" or "pattern 2) and not("pattern 3") ```
Some requests mentioned in mailing list https://groups.google.com/d/msg/glogg-devel/lLE9qLuGK-U/Vad8nj58oxAJ and glogg issues (nickbnf#192)
Can be done with regex, but it might be more user friendly to
The text was updated successfully, but these errors were encountered: