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

Re-implement `` and '' with jumpTracker #3242

Merged
merged 3 commits into from
Dec 6, 2018
Merged

Conversation

dsschnau
Copy link
Contributor

@dsschnau dsschnau commented Dec 4, 2018

`` and '' were implemented before the new jumpTracker in PR #3028 .

This PR Fixes issue #3138.

Because and '' were implemented before `jumpTracker`, this caused and '' to fall out-of-sync with jumpTracker, causing issue #3138 to surface.

In addition, the jumpTracker implementation requires jumps to be on separate lines. It so happens that the one-line example in #3138 identified this behavior. AFAIK the one-jump-per-line requirement isn't necessary. This PR removes it, instead requiring that different jumps be only on separate positions. @shawnaxsom, as the author of this bit, would you have any input on this?

@dsschnau dsschnau force-pushed the issue-3138 branch 4 times, most recently from 9fbabc0 to 4aa980d Compare December 6, 2018 03:52
…' were implemented before the new jumpTracker in PR VSCodeVim#1993.This caused these actions to fall out-of-sync, causing issue VSCodeVim#3138 tosurface.In addition, the jumpTracker implementation requires jumps to be onseparate lines. As far as I can tell, this behavior is not neccesary.This commit removes that requirement, instead requiring that differentjumps be only on separate positions.
@jpoon jpoon merged commit 0151438 into VSCodeVim:master Dec 6, 2018
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