Today, the Caret was redesigned once, using a position to represent the location of the Caret:
Public final class position {??? private int }Dex; ??? private int columnindex
The location of the CARET cannot be represented by Paragraph and Index because the end of the N-row and the beginning of the N 1 line are a location.
In order to implement the input, delete function, use the Command mode to define the Command interface:
Interface command {??? Boolean Execute (); ??? void unExecute ();
Manage Command Linches by Litex CommandManager, handlers implement UNDO / Redo.
Undo has not yet implemented because INSERTCOMMAND and DeleteCommand's unExecute () have not yet written.
The latest version can enable input, delete, cursor positioning:
Welcome everyone to download, and make valuable comments and suggestions!