You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run the command :marks after running :retab I can see the mark p is still defined, but its location info has disappeared:
I think the problem is that we're using Eclipse's "markers" to store our mark locations and if a line changes, Ecilpse just throws away marks on that line. Since :retab causes all lines to appear "dirty", Eclipse throws away all marks. Vrapper still knows a mark was defined with name p but when we query Eclipse to find that location, it doesn't know what we're talking about.
So I agree this is a defect but I'm not sure if there's any way for us to "update" the mark locations after a retab operation.
Replying somewhat late, but I think I've seen this behavior before. It was #446 where I also noticed that sometimes marks get lost when content is replaced or deleted.
If Eclipse won't keep that information for us we could in theory code a workaround by taking a "snapshot" of the marks and restoring them after the :retab, though that might turn out to be quite a lot of work...
The :retab command removes all marks.
A message is displayed: "Mark not set".
I cannot decide whether this is undocumented behaviour, intentional, or a bug. Marks are retained in vim, though.
Regards
The text was updated successfully, but these errors were encountered: