Several of the variants in Action are delegated to the Editable trait:
Cursor
Edit
History
InsertText
Mark
Selection
I'm going to move these and Complete into their own EditorAction type and make the Editable trait have one method that takes an EditorAction. This should simplify things for most implementers of Editable, since they usually just pass along a value to an EditBuffer.
Several of the variants in
Action
are delegated to theEditable
trait:Cursor
Edit
History
InsertText
Mark
Selection
I'm going to move these and
Complete
into their ownEditorAction
type and make theEditable
trait have one method that takes anEditorAction
. This should simplify things for most implementers ofEditable
, since they usually just pass along a value to anEditBuffer
.