Skip to content

[CLOSED] Changing Block-Comment so that it doesn't replace the whole selection #2069

@core-ai-bot

Description

@core-ai-bot

Issue by TomMalbran
Monday Nov 19, 2012 at 01:55 GMT
Originally opened as adobe/brackets#2148


This was a change commented in adobe/brackets#2108

Now that batchOperation doesn't break the undo for multiple replace operations, is better that commenting just places the prefix and suffix, and not do only 1 replace with the content inside the selection plus the prefix and suffix. This pull fixes this.


TomMalbran included the following code: https://github.com/adobe/brackets/pull/2148/commits

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