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

Closing or changing a project before fully loading files/views, loses the last cursor/caret and scroll position #1740

Open
1 of 3 tasks
evandrocoan opened this issue May 31, 2017 · 0 comments

Comments

@evandrocoan
Copy link

evandrocoan commented May 31, 2017

Related issues:

  1. Restore scroll position for all open files when restoring the workspace #454 Restore scroll position for all open files when restoring the workspace

Expected behavior

When I am changing a project or closing Sublime Text before the views/files full load it, is expected to Sublime Text keeps remembering their scroll and cursor/caret position on the next time you open them.

Actual behavior

When I am changing a project or closing Sublime Text before the views/files full load, Sublime Text loses their scroll and cursor/caret position on the next time you open them.

Steps to reproduce

  1. Open a big file as 1GB
  2. After loading it, set the caret/cursor and scroll to the half of the file
  3. Close Sublime Text or change the project
  4. Open Sublime Text or reopen the last project
  5. Now close Sublime Text or change the project before the 1GB view load

When you came back and wait until the full load, Sublime Text scroll and caret are going to be pointing to the first line, instead of the middle of the file, as it should remember.

Environment

  • Operating system and version:
    • Windows 10
    • Mac OS ...
    • Linux ...
  • Sublime Text:
    • Build 3132
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

1 participant