Alice Community  

Go Back   Alice Community > Alice 2 > Suggestion Box

Reply
 
Thread Tools Display Modes
general cut and paste
Old
chaynes
Guest
 
Status:
Posts: n/a
Default general cut and paste - 01-20-2006, 07: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?
   
Reply With Quote
Old
pausch
Director of the Alice Project
 
Status: Offline
Posts: 38
Join Date: Jul 2005
Default 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.


Randy Pausch
Director of the Alice Project
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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