Skip to content

formatEditorSelection indents regions outside selected #110

@pierslawrence

Description

@pierslawrence

When using MBeautify.formatEditorSelection(), after formatting the selected text, MBeautify.m#L227 then indents the entire editor page, rather than just the selection. I.e. the following code is called:

            MBeautify.indentPage(currentEditorPage, configuration);

It would seem more appropriate to indent only the selected region.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions