Skip to content

how do i use undo and redo? #4

@monopx-top

Description

@monopx-top

the signatures are:
UndoRedoResult try_undo(CharOffset op_offset);
and
UndoRedoResult try_redo(CharOffset op_offset);

do the functions change the tree directly or do I have to do something with the result?
what is the op_offset for?
Can I get an example of how to use it please?

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