Skip to content

Jump to location of current file when click view pdf button#311

Closed
innerlee wants to merge 1 commit intoJames-Yu:masterfrom
innerlee:zz/follow
Closed

Jump to location of current file when click view pdf button#311
innerlee wants to merge 1 commit intoJames-Yu:masterfrom
innerlee:zz/follow

Conversation

@innerlee
Copy link
Contributor

@innerlee innerlee commented Nov 16, 2017

It is good to let this configurable. However, make this behavior default is good in the short run.

@innerlee
Copy link
Contributor Author

I used this functionality these days, it goes generally good.
However, there are times that latex sync cannot locate well, then this function will cause trouble.

So this pr can hold on, serves an issue, and wait for a better implementation.

@innerlee
Copy link
Contributor Author

innerlee commented Nov 19, 2017

Thoughts on new implementation: relocate the page only if the current cursor position is not visible.

@innerlee
Copy link
Contributor Author

I do not have time to implement a good version of this (may be one can ref https://github.com/izuzak/atom-pdf-view/blob/7922066915be352540e1d5eb0ac9542dd244325e/lib/pdf-editor-view.js#L224), and the current implemenation is ugly. So, it does not have meaning to keep it open :)

@innerlee innerlee closed this Nov 22, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant