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

Clear all lines before selected #139

Closed
janwilmans opened this issue Jun 13, 2014 · 1 comment
Closed

Clear all lines before selected #139

janwilmans opened this issue Jun 13, 2014 · 1 comment

Comments

@janwilmans
Copy link
Member

menu option to clear all lines before the selected line from the view.

@janwilmans janwilmans added this to the Next Release, whenever that is milestone Sep 23, 2015
@janwilmans
Copy link
Member Author

Actually, today, working with a huge logfiles of 1.3 million lines, I really needed a 'clear lines before' and actually also a 'clear lines after' feature, so I could analyse just one part of the logfile.

also, I made the mistake of pressing Ctrl-x by accident, it would have been great to be able to 'reapply' the filters to the entire buffer. Maybe just expose the 'm_firstLine' in the filter dialog? then you can set it to any value (0 = reapply to buffer)

Alternatively, to could be a two-step process, add options to the right-click on a line context menu to:

  • 'reset view' - to reappy the filters of a view to the entire buffer
  • then 'reset to line' - to reset the m_firstline to the selected line

image

The 'clear after' option is cumbersome, it could work, but we would have to 'keep a list' of excluded ranges, or just remove the lines from the logfile entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant