GNOME Bugzilla – Bug 660322
Ability to hide individual results
Last modified: 2018-07-10 22:05:31 UTC
[ Orginally filed by Ulrik Sverdrup as http://www.reinteract.org/trac/ticket/4 ] Make it easier to copy and paste chunks inside reinteract, or copy a whole suite into another "pure" python script, but allowing the user to hide or clear the displayed/printed results. Either we could have in effect everything marked for recomputation, or we could just have a toggleable state show/don't show for results. It could also be solved by different copy-selection behaviors, but some users will want to copy just the results, some just the code and some the whole transcript (both). 11/14/07 19:50:59 changed by otaylor ==================================== Don't you always want either: a) just the python code or b) doctests format (see ticket #1)? I can't think of a case where I'd want to get just everything without distinction as currently. (And there's definitely no case where you want to copy a result and insert into the buffer tagged as not-editable, as happens currently!) So, my instinct here is that the default should be to skip the results, and have a separate "copy as doctests", maybe with the short-cut control-shift-c (The exception being when *just* a single result or part of a results is selected... then it should copy what's selected by default, since the user clearly didn't want to copy nothing.) The one way I could imagine doing hide-results is treating it as "folding" - to be able to click in the margin to hide/show any result, then have options to "hide all results" and "show all results". That sounds useful just for working with the buffer, leaving aside cut-and-paste. 11/17/07 21:57:12 changed by otaylor ==================================== summary changed from Hide or clear result text to Ability to hide individual results. I've committed: Fixes so that by default copying doesn't include results A "Copy as Doctests" menu item resolving ticket #1 I'm going to retitle this bug to refer to idea of temporarily hiding results while leaving them in the buffer.
Reinteract is not under active development anymore and had its last code changes in early 2012: http://git.fishsoup.net/cgit/reinteract/log/ Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.