capture deleted lines from cut/delete actions

reimplemented the cut function so deleted lines could be capture
for cut and remove, saved before selection and capture deleted lines
  after each of operation