The highlighted text is deleted from the selected procedure and placed into an internal buffer and the system clipboard for later use.
Additionally, for every procedure call the corresponding procedure and all procedures that can be reached from it are copied to the buffer. This is necessary to obtain a consistent program when pasting procedure call lines to a program in which the corresponding procedures might not exist.