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

Even more fixes for matching up buffers with URIs #1782

Merged
merged 4 commits into from
Jul 5, 2021

Conversation

rwols
Copy link
Member

@rwols rwols commented Jul 5, 2021

If the paths compare equal as strings, then we consider this a match, even if
the candidate file does not actually exist on-disk. This catches a case where
you delete a file on the file system but you have a view of it open in
Sublime Text. There is no callback in the API for that. And even so,
view.file_name() will still return the (now non-existing) file name.

rwols added 2 commits July 5, 2021 20:05
If the paths compare equal as strings, then we consider this a match, *even* if
the candidate file does not actually exist on-disk. This catches a case where
you delete a file on the file system but you have a view of it open in
Sublime Text. There is no callback in the API for that. And even so,
view.file_name() will still return the (now non-existing) file name.
plugin/core/sessions.py Outdated Show resolved Hide resolved
@rwols rwols merged commit 79a8976 into main Jul 5, 2021
@rwols rwols deleted the fix/more-fixes-for-finding-session-buffers branch July 5, 2021 19:22
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.

2 participants