-
Notifications
You must be signed in to change notification settings - Fork 41
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
Bookmarks no longer move with line moves #2785
Comments
Still present in 3207. |
For me, the bookmark actually moves down when I move the current line with the selection upwards using the binding. When the swap is initiated on the adjacent line, it works as intended. Regarding the thing at the end of the file, we have a separate issue for that already and I don't think it's related. I can't find it right now, however. |
Thanks for the confirm. BTW: It's a small bug, but is it "minor"? It's keeping me at 3188. |
Comparatively, I classify this as a minor invonvenience, almost trivial, but I didn't go that far because I don't use bookmarks myself. Severity is a subjective metric based on how much it affects daily usage and how many users. "minor" is the default classifcation. |
This is a prominent regression for SublimeLinter. It is not only that bookmarks behave differently, all drawn regions are affected. (Didn't comment before just subscribed to get notified about the progress.) SublimeLinter does not have or ship a workaround yet. |
@kaste Is there a SublimeLinter issue yet? I was going to cross-ref but didn't immediately see anything. |
No issue yet, for a proper issue I need to screencast etc. and I actually hoped it would just go away quickly bc it's a regression. 🤷♀ |
All right, if this happens for all regions added via |
A year later and nothing? Dare I hope for persistent, working bookmarks in ST4? |
There's still a scenario where even persistent bookmarks can be lost: apply bookmarks in ST, close the file, commit it to a Git repo, edit the file online, pull back changes, reopen it in ST. |
How should ST keep track of bookmarks if the file was changed externally while not open in ST? From the editor's point of view the reopened file is a new one because the content changed. How should it know, whether the old bookmarks would still be at the correct/expected line? Sounds a bit like expecting magic. |
I call it heuristics. Bookmarks based on line, column and surrounding text, saved locally to disk. |
My priority is a fix of the regression, hopefully addressing @FichteFoll's linting issue as well. It'd then be magical to have persistent bookmarks at all -- no need for out-of-editor magic. I don't know how people work without bookmarks, i.e., bouncing back and forth between a few interdependent pieces of code/prose. |
BTW: Has anyone tried the dev build version available via discord? |
@deathaxe tried. My issue was also solved. |
Fixed in Sublime Text 4. |
Description
Confirmed, and copying from forum:
Steps to reproduce
Expected behavior
Bookmark should move with line
Actual behavior
Bookmark remain behind
Environment
MacOS Mojave; ST v 3.2 build 3200
The text was updated successfully, but these errors were encountered: