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

Fix line numbers in grep view when scrolled #813

Merged
merged 1 commit into from
Apr 12, 2018

Conversation

andebjor
Copy link
Contributor

@andebjor andebjor commented Apr 9, 2018

Disable the addition of number of scrolled lines to the line number in
"grep" mode, as the line numbers in this case actually are search
results, and not line numbers of e.g. a viewed file.

Disable the addition of number of scrolled lines to the line number in
"grep" mode, as the line numbers in this case actually are search
results, and not line numbers of e.g. a viewed file.
@jonas jonas merged commit 890eeee into jonas:master Apr 12, 2018
@jonas
Copy link
Owner

jonas commented Apr 12, 2018

Thank you for the fix.

@andebjor andebjor deleted the fix_grep_line_numbers branch April 12, 2018 05:57
rolandwalker pushed a commit to rolandwalker/tig that referenced this pull request May 21, 2018
Disable the addition of number of scrolled lines to the line number in
"grep" mode, as the line numbers in this case actually are search
results, and not line numbers of e.g. a viewed file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants