Skip to content

Extension breaks multi-selection line breaks in Brackets #37

@purplemur

Description

@purplemur

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions