Alice Community  

Go Back   Alice Community > Alice 2 > Suggestion Box

Reply
 
Thread Tools Display Modes
Cut and Paste
Old
minkscooter
Guest
 
Status:
Posts: n/a
Default Cut and Paste - 08-11-2008, 11:10 PM

Often I want to move a code block out of one method into a new method so it's easier to re-use that code. I create a new method and get an empty tab in the editor pane. I want to drag code from the existing method into the new empty method. I can drag code within the same tab or to the trash can, but I can't drag it to a different tab. Instead I have to recreate the code from scratch, repeatedly checking the old method to make sure I got it right, then delete the old code. An annoying chore.

I love drag and drop code in Alice. I really wish I could drop code onto a tab other than the current tab. I don't care where it goes in that tab, as long as it falls in there somewhere, because I can easily open that tab and rearrange things. Appending would be fine.

Gesture: drag code from open tab to another tab
Result: remove dragged code from open method and append it to the method in the other tab
   
Reply With Quote
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 08-12-2008, 04:54 AM

Quote:
Originally Posted by minkscooter View Post
Often I want to move a code block out of one method into a new method so it's easier to re-use that code. I create a new method and get an empty tab in the editor pane. I want to drag code from the existing method into the new empty method. I can drag code within the same tab or to the trash can, but I can't drag it to a different tab. Instead I have to recreate the code from scratch, repeatedly checking the old method to make sure I got it right, then delete the old code. An annoying chore.

I love drag and drop code in Alice. I really wish I could drop code onto a tab other than the current tab. I don't care where it goes in that tab, as long as it falls in there somewhere, because I can easily open that tab and rearrange things. Appending would be fine.

Gesture: drag code from open tab to another tab
Result: remove dragged code from open method and append it to the method in the other tab
Go to http://www.dickbaldwin.com/alice/Alice0125.htm and search for clipboard.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free Scratch tutorials: http://www.dickbaldwin.com/tocHomeSchool.htm
Free Java/C#, etc. tutorials: http://www.dickbaldwin.com/toc.htm
   
Reply With Quote
Old
minkscooter
Guest
 
Status:
Posts: n/a
Default 08-15-2008, 04:11 AM

Ah, thanks!
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.