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

Session restore: current view not restored #2002

Closed
Alexey-T opened this issue May 5, 2019 · 3 comments
Closed

Session restore: current view not restored #2002

Alexey-T opened this issue May 5, 2019 · 3 comments

Comments

@Alexey-T
Copy link
Owner

Alexey-T commented May 5, 2019

В сессии сохраняется index of top line или просто каретка, должна восстанавливать ее

да, я это видел. Позиция каретки сохраняется, но не сохраняется экран. Открывается в начале, а каретка может быть в середине файла. Если нажать стрелку, то редактор дернет вид на позицию каретки.
То есть после LineTop нужно еще вызывать что-то вроде ScrollToCaret

@Alexey-T
Copy link
Owner Author

Alexey-T commented May 5, 2019

@kvichans проверил в Лин х64- работает ок. А у вас в Вин работает?
сохраните в историю позицию каретки и текущий экран в конце файла.
закройте файл. откройте. позиция в конце?
на _большом! файле.

@kvichans
Copy link
Collaborator

kvichans commented May 5, 2019

На новой бете? В прежних версиях "не тот экран" у меня часто возникает. Эта проблема возникала/решаласть уже не меньше 3 раз.

@Alexey-T
Copy link
Owner Author

No repro

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

No branches or pull requests

2 participants