-
Notifications
You must be signed in to change notification settings - Fork 761
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
provide configurable context for search hits #1767
Comments
can you add more details please ? |
Marking this as enhancement. However, this needs better specification to see what needs to be done. Or a pull request. |
When we search for a content, we are showing only the matching line of content with line number. I need a customization option to include n lines before and after the actual line in the search result screen. |
All right. This is something which probably needs to be done in |
I have little design sense, but I'm thinking something like the following: When you do a 0-context search, results would appear as they do now: But if you specify to show some extra context, we make sure to clarify the non-contiguous sections. (We don't do that for 0-context search, but it's not a problem when every line has a highlight.) I think up to 3 lines of surrounding context is a good maximum, because we still have to enforce the But then the "more" view has the unlimited context: This is all real BTW. Seeing if #2732 ever gets merged. |
No description provided.
The text was updated successfully, but these errors were encountered: