-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Implement a search counter, next to the page counter #644
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not tested yet, but here are some initial comments.
unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document); | ||
unsigned int current_page_number = zathura_document_get_current_page_number(zathura->document); | ||
zathura->global.total_search_results = 0; | ||
zathura->global.current_search_result = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an empty line in between and avoid the reformatting of the two lines above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please skip the reformatting of lines 413 and 414.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sebastinas Done
@sebastinas Sorry for the late reply. I made the changes that you requested, but actually all these previous changes came from |
b43e1ca
to
0f01136
Compare
This PR is the first step at implementing the search counter.
Fixes #450