sugarlabs / Pippy

Pippy allows the student to examine, execute, and modify simple Python programs. In addition it is possible to write Python statements to play sounds, calculate expressions, or make simple text based interactive games.
GNU General Public License v2.0
11 stars 35 forks source link

Clear only the canvas not the code. Fixes #2. #46

Closed icarito closed 7 years ago

icarito commented 7 years ago

I tried adding the trash can but it really doesn't feel necessary.

icarito commented 7 years ago

Comment is wrong, actually fixes #44

quozl commented 7 years ago

Reviewed.

quozl commented 7 years ago

Packaged and tested.

@icarito, it would be nice if there was a way to hide the Vte; at the moment the only way to do that is to Stop and resume.

icarito commented 7 years ago

@quozl I didn't get your meaning. Currently the show/hide output panel toolbutton hides the vte, no?

image

quozl commented 7 years ago

Oh, yeah, thanks.

quozl commented 7 years ago

With the output panel hidden, the clear button doesn't seem to do anything. :grin:

icarito commented 7 years ago

Neither does the stop button ;-)

icarito commented 7 years ago

@quozl while we are at it, export options are quite confusing to me, do we really want to expose distutils etc ?

quozl commented 7 years ago

No, I don't think distutils has much of a use-case.

icarito commented 7 years ago

Created a new issue for that. On the topic of clearing the editor, it already is too easy with closing the tab (when there are multiple tabs), and there's no undo for that... maybe merits another issue.

quozl commented 7 years ago

Agreed, can make two tabs, with program text, stop activity, resume activity, both tabs present, close one, and program text is destroyed. Undo undoes typing not the tab close.