copy, paste of lines and undo / redo functionality!