Module simple_text_editor::ops[][src]

Enums

Operation

Contains all possible operations, as interpreted from commands via input. Invalid is a catch-all for any unrecognized commands.

UndoableOperation

Contains all possible operations which are eligible for "undo". Append and Delete maintain the inverse of their Operation 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).