Basic editing operations.
Include undo, redo, cut, copy, paste, delete, select all.

Signed-off-by: cyberzhg <cyberzhg@gmail.com>