Alice Community

Alice Community (
-   Suggestion Box (
-   -   general cut and paste (

chaynes 01-20-2006 07:08 AM

general cut and paste
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 02: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.

All times are GMT -5. The time now is 02:31 PM.

Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.