PDA

View Full Version : general cut and paste


chaynes
01-20-2006, 08:08 AM
There does not seem to be any mechanism for moving code from one method to another. This discourages method abstraction unless you think of it all before you code. A general cut and paste would be the obvious way to provide this. Am I missing something?

pausch
01-20-2006, 03:47 PM
There is a clipboard in the upper right hand corner of the screen, and you can drag code there to copy it, and then drag the code back out in order to paste it.

It's still awkward if you have multiple lines of code (it's easiest to first put them in a DoInorder, just for "packaging"), but there is a way to cut & paste between methods.