Timeline for Delete pre-existing output under EvaluationCell[] from CellProlog
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2019 at 19:37 | answer | added | Alexey Popkov | timeline score: 0 | |
Oct 19, 2019 at 14:44 | comment | added | Alexey Popkov |
@kglr I wasn't able to make your approach working, unfortunately. But thanks for Experimental`CellStyleNames : I was able to develop something what can be thought as a start - see my answer.
|
|
Oct 19, 2019 at 14:43 | answer | added | Alexey Popkov | timeline score: 1 | |
Oct 19, 2019 at 13:14 | comment | added | kglr |
maybe something like: {CellProlog :> FrontEndExecute[ FrontEndToken[EvaluationNotebook[], "SelectNextLine"]]; If[Experimental`CellStyleNames[NotebookSelection[]] == "Output", CurrentValue[NotebookSelection[], CellAutoOverwrite] = True]; CellEpilog :> SelectionMove[EvaluationNotebook[], After, Cell]} ?
|
|
Oct 19, 2019 at 11:36 | history | edited | Alexey Popkov | CC BY-SA 4.0 |
edited title
|
Oct 19, 2019 at 11:31 | history | edited | Alexey Popkov | CC BY-SA 4.0 |
added 617 characters in body
|
Oct 19, 2019 at 11:06 | history | asked | Alexey Popkov | CC BY-SA 4.0 |