Skip to content

Reformat commands when solving holes #49

@mikeshulman

Description

@mikeshulman

Currently when solving a hole in ProofGeneral, the inserted term is pretty-printed. But it would be better to reformat the entire command it appears in, since replacing a ? by a longer term could cause different linebreaking and indentation, particularly when the inserted term is part of the case tree.

This will probably require recording some information about the scope of each command in the history, so it can be reformatted in that scope. It will also require some thought regarding how to maintain, or re-create, any other hole overlays currently existing in that command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions