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

Extension breaks multi-selection line breaks in Brackets #37

Open
purplemur opened this issue Aug 31, 2015 · 1 comment
Open

Extension breaks multi-selection line breaks in Brackets #37

purplemur opened this issue Aug 31, 2015 · 1 comment

Comments

@purplemur
Copy link

Brackets: Release 1.4 build 1.4.0-16380 (release 273804eb3)
Emmet extension: v1.2.2

Related ticket in Brackets GitHub: adobe/brackets#11425

Basically, the issue is that when you have multiple selections using the Brackets built-in multi-select feature, and you have the Emmet extension enabled, using the carriage return behaves in an unexpected manner. The carriage returns happen in the correct places, but the cursors are passed down to the next line from where they were originally, instead of the accounting for the added lines from inserting all of the earlier carriage returns. For example, if your cursors are on lines 16, 19, and 53, they will be located on lines 17, 20, and 54, instead of 17, 22, and 56.

@purplemur
Copy link
Author

Doing some more poking around, this is not occurring in .js or .css files, only in .html files. I have not tested in any other file formats.

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

No branches or pull requests

1 participant