Skip to content

Commit 95523a9

Browse files
committed
Add section on py-editor stop button.
1 parent cce5b31 commit 95523a9

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/assets/images/pyeditor-stop.gif

309 KB
Loading

docs/user-guide/editor.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,21 @@ The outcome of these code fragments should look something like this:
6767

6868
Hovering over the Python editor reveals the "run" button.
6969

70+
### Stop evaluation
71+
72+
Sometimes, for whatever reason, the fragment of code in the editor will never
73+
complete. Perhaps it's stuck in an infinite loop and you need to stop the
74+
evaluation of your code so you can fix the problem and start it again.
75+
76+
When the code is running, hovering over the editor will reveal a stop button
77+
(where the run button was found). Click on it, confirm you want to stop your
78+
code, and then the code will stop and the editor will refresh so you can fix
79+
your code.
80+
81+
It looks something like this:
82+
83+
<img src="../../assets/images/pyeditor-stop.gif" style="border: 1px solid black; border-radius: 0.2rem; box-shadow: var(--md-shadow-z1);"/>
84+
7085
### Setup
7186

7287
Sometimes you need to create a pre-baked Pythonic context for a shared

0 commit comments

Comments
 (0)