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

HTML: Exit mirror mode when going to new line #86441

Closed
octref opened this issue Dec 6, 2019 · 0 comments
Closed

HTML: Exit mirror mode when going to new line #86441

octref opened this issue Dec 6, 2019 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues verified Verification succeeded
Milestone

Comments

@octref
Copy link
Contributor

octref commented Dec 6, 2019

Currently, the logic for exiting mirror mode is when the text before/after primary/second cursors do not match any more.

One caveat is:

    // some spaces
<|div>
    // some spaces
</|div>
    // some spaces

Press up/down, it will keep the multi cursors.

When you press up/down, HTML should always exit mirror-cursor. If your primary cursor lands on another tag's name it should reenter mirror-cursor.

@octref octref added bug Issue identified by VS Code Team member as probable bug html HTML support issues labels Dec 6, 2019
@octref octref added this to the November 2019 milestone Dec 6, 2019
@octref octref self-assigned this Dec 6, 2019
@octref octref closed this as completed in 06f97fe Dec 6, 2019
@jrieken jrieken added the verified Verification succeeded label Dec 6, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants