Enums§
- Operation
- Contains all possible operations, as interpreted from commands via input.
Invalid
is a catch-all for any unrecognized commands. - Undoable
Operation - Contains all possible operations which are eligible for “undo”.
Append
andDelete
maintain the inverse of theirOperation
type counterparts, and hold the data necessary to undo the operation on the buffer.
Functions§
- parse
- Parse all operations from combined input, including the command count (first line).