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

Find match count (rebase of #5051) #6580

Merged
merged 2 commits into from
Oct 30, 2015
Merged

Conversation

yurydelendik
Copy link
Contributor

Bases of #5051

Fixes #4805

@yurydelendik
Copy link
Contributor Author

/botio-windows preview

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_preview from @yurydelendik received. Current queue size: 0

Live output at: http://107.22.172.223:8877/7c8502f8126921d/output.txt

@@ -386,6 +395,15 @@ var PDFFindController = (function PDFFindControllerClosure() {
}
},

updateUIResultCount:
function PDFFindController_updateUICountMatches() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: The function in pdf_find_bar.js is called updateResultsCount, so for consistency we might want to add an "s" to the current method name, i.e. updateUIResultsCount instead!?.
(Also, the name after function isn't entirely consistent.)

@Snuffleupagus
Copy link
Collaborator

r=me, with nit addressed.

yurydelendik added a commit that referenced this pull request Oct 30, 2015
@yurydelendik yurydelendik merged commit c2e70ea into mozilla:master Oct 30, 2015
@Rob--W
Copy link
Member

Rob--W commented Feb 15, 2016

Is it feasible to add an index to the counter, e.g. "1 out of 1"? And also, a tooltip that shows what the number means when hovering over the number may be helpful.

@timvandermeij
Copy link
Contributor

Could you open a separate issue for that and label it as a feature?

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.

5 participants