Skip to content

Don't empty undo stack when reformatting or using template generation #9

@philipsens

Description

@philipsens

You can't undo reformatting the code.

By inserting the XML into the editor without setValue on the model, the undo stack can be kept.

Tip:
Get full range of model and replace that with new content with executeEdit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions