about summary refs log tree commit diff stats
path: root/html/edit/005-sandbox.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-05-13 17:21:47 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-05-13 17:37:27 -0700
commit05a22c024d0ffe3382f94ccacec6718cb10ef78f (patch)
treed0f7893d0b7a67ce64b5eeefb63e5fcf2694f86c /html/edit/005-sandbox.mu.html
parentef6116cbaf9368e490bfdec1c6404396ac161026 (diff)
downloadmu-05a22c024d0ffe3382f94ccacec6718cb10ef78f.tar.gz
3856
Bugfix on commit 3853: clear `render-all-on-no-more-events` once you've
actually run the `render-all`.
Diffstat (limited to 'html/edit/005-sandbox.mu.html')
-rw-r--r--html/edit/005-sandbox.mu.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/html/edit/005-sandbox.mu.html b/html/edit/005-sandbox.mu.html
index 30ea06c6..5fd50c96 100644
--- a/html/edit/005-sandbox.mu.html
+++ b/html/edit/005-sandbox.mu.html
@@ -75,7 +75,7 @@ if ('onhashchange' in window) {
 <span id="L12" class="LineNr">  12 </span>  open-console
 <span id="L13" class="LineNr">  13 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <span class="Constant">0/filesystem</span>, <span class="Constant">0/screen</span>
 <span id="L14" class="LineNr">  14 </span>  env <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L504'>restore-sandboxes</a> env
-<span id="L15" class="LineNr">  15 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <span class="Constant">0/screen</span>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L15" class="LineNr">  15 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <span class="Constant">0/screen</span>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L16" class="LineNr">  16 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <span class="Constant">0/screen</span>, <span class="Constant">0/console</span>, env, <span class="Constant">0/filesystem</span>
 <span id="L17" class="LineNr">  17 </span>  <span class="Comment"># never gets here</span>
 <span id="L18" class="LineNr">  18 </span>]
@@ -193,12 +193,12 @@ if ('onhashchange' in window) {
 <span id="L130" class="LineNr"> 130 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L213'>update-status</a> <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[running...       ]</span>, <span class="Constant">245/grey</span>
 <span id="L131" class="LineNr"> 131 </span>  <span class="Conceal">¦</span> error?:bool <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L143'>run-sandboxes</a> env, <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>
 <span id="L132" class="LineNr"> 132 </span>  <span class="Conceal">¦</span> <span class="Comment"># F4 might update warnings and results on both sides</span>
-<span id="L133" class="LineNr"> 133 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L133" class="LineNr"> 133 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L134" class="LineNr"> 134 </span>  <span class="Conceal">¦</span> <span class="Delimiter">{</span>
 <span id="L135" class="LineNr"> 135 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> error?
 <span id="L136" class="LineNr"> 136 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L213'>update-status</a> <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[                 ]</span>, <span class="Constant">245/grey</span>
 <span id="L137" class="LineNr"> 137 </span>  <span class="Conceal">¦</span> <span class="Delimiter">}</span>
-<span id="L138" class="LineNr"> 138 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L460'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
+<span id="L138" class="LineNr"> 138 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L461'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
 <span id="L139" class="LineNr"> 139 </span>  <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span>
 <span id="L140" class="LineNr"> 140 </span>  <span class="Delimiter">}</span>
 <span id="L141" class="LineNr"> 141 </span>]
@@ -802,7 +802,7 @@ if ('onhashchange' in window) {
 <span id="L739" class="LineNr"> 739 </span>  assume-resources [
 <span id="L740" class="LineNr"> 740 </span>  ]
 <span id="L741" class="LineNr"> 741 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L742" class="LineNr"> 742 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L742" class="LineNr"> 742 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L743" class="LineNr"> 743 </span>  assume-console [
 <span id="L744" class="LineNr"> 744 </span>  <span class="Conceal">¦</span> press enter
 <span id="L745" class="LineNr"> 745 </span>  <span class="Conceal">¦</span> press down-arrow
@@ -825,7 +825,7 @@ if ('onhashchange' in window) {
 <span id="L762" class="LineNr"> 762 </span>  assume-resources [
 <span id="L763" class="LineNr"> 763 </span>  ]
 <span id="L764" class="LineNr"> 764 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L765" class="LineNr"> 765 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L765" class="LineNr"> 765 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L766" class="LineNr"> 766 </span>  assume-console [
 <span id="L767" class="LineNr"> 767 </span>  <span class="Conceal">¦</span> press enter
 <span id="L768" class="LineNr"> 768 </span>  <span class="Conceal">¦</span> press up-arrow
@@ -851,7 +851,7 @@ if ('onhashchange' in window) {
 <span id="L788" class="LineNr"> 788 </span>  recipe-bottom:num
 <span id="L789" class="LineNr"> 789 </span>]
 <span id="L790" class="LineNr"> 790 </span>
-<span id="L791" class="LineNr"> 791 </span><span class="muRecipe">after</span> <span class="Constant"><a href='004-programming-environment.mu.html#L437'>&lt;render-recipe-components-end&gt;</a></span> [
+<span id="L791" class="LineNr"> 791 </span><span class="muRecipe">after</span> <span class="Constant"><a href='004-programming-environment.mu.html#L438'>&lt;render-recipe-components-end&gt;</a></span> [
 <span id="L792" class="LineNr"> 792 </span>  *env <span class="Special">&lt;-</span> put *env, <span class="Constant">recipe-bottom:offset</span>, row
 <span id="L793" class="LineNr"> 793 </span>]
 <span id="L794" class="LineNr"> 794 </span>
@@ -905,7 +905,7 @@ if ('onhashchange' in window) {
 <span id="L842" class="LineNr"> 842 </span>  assume-resources [
 <span id="L843" class="LineNr"> 843 </span>  ]
 <span id="L844" class="LineNr"> 844 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L845" class="LineNr"> 845 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L845" class="LineNr"> 845 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L846" class="LineNr"> 846 </span>  assume-console [
 <span id="L847" class="LineNr"> 847 </span>  <span class="Conceal">¦</span> <span class="Comment"># add a line</span>
 <span id="L848" class="LineNr"> 848 </span>  <span class="Conceal">¦</span> press enter
@@ -933,7 +933,7 @@ if ('onhashchange' in window) {
 <span id="L870" class="LineNr"> 870 </span>  ]
 <span id="L871" class="LineNr"> 871 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[ab</span>
 <span id="L872" class="LineNr"> 872 </span><span class="Constant">cd]</span>
-<span id="L873" class="LineNr"> 873 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L873" class="LineNr"> 873 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L874" class="LineNr"> 874 </span>  assume-console [
 <span id="L875" class="LineNr"> 875 </span>  <span class="Conceal">¦</span> <span class="Comment"># add a line</span>
 <span id="L876" class="LineNr"> 876 </span>  <span class="Conceal">¦</span> press enter
@@ -965,7 +965,7 @@ if ('onhashchange' in window) {
 <span id="L902" class="LineNr"> 902 </span>  assume-resources [
 <span id="L903" class="LineNr"> 903 </span>  ]
 <span id="L904" class="LineNr"> 904 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[add 2, 2]</span>
-<span id="L905" class="LineNr"> 905 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L905" class="LineNr"> 905 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L906" class="LineNr"> 906 </span>  assume-console [
 <span id="L907" class="LineNr"> 907 </span>  <span class="Conceal">¦</span> <span class="Comment"># create a sandbox</span>
 <span id="L908" class="LineNr"> 908 </span>  <span class="Conceal">¦</span> press F4
@@ -1036,14 +1036,14 @@ if ('onhashchange' in window) {
 <span id="L973" class="LineNr"> 973 </span>  <span class="Conceal">¦</span> <span class="Delimiter">}</span>
 <span id="L974" class="LineNr"> 974 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L623'>hide-screen</a> <a href='../081print.mu.html#L4'>screen</a>
 <span id="L975" class="LineNr"> 975 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> render-sandbox-side <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
-<span id="L976" class="LineNr"> 976 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L460'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
+<span id="L976" class="LineNr"> 976 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L461'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
 <span id="L977" class="LineNr"> 977 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L631'>show-screen</a> <a href='../081print.mu.html#L4'>screen</a>
 <span id="L978" class="LineNr"> 978 </span>  <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span>
 <span id="L979" class="LineNr"> 979 </span>  <span class="Delimiter">}</span>
 <span id="L980" class="LineNr"> 980 </span>]
 <span id="L981" class="LineNr"> 981 </span>
 <span id="L982" class="LineNr"> 982 </span><span class="Comment"># update-cursor takes render-from into account</span>
-<span id="L983" class="LineNr"> 983 </span><span class="muRecipe">after</span> <span class="Constant"><a href='004-programming-environment.mu.html#L463'>&lt;update-cursor-special-cases&gt;</a></span> [
+<span id="L983" class="LineNr"> 983 </span><span class="muRecipe">after</span> <span class="Constant"><a href='004-programming-environment.mu.html#L464'>&lt;update-cursor-special-cases&gt;</a></span> [
 <span id="L984" class="LineNr"> 984 </span>  <span class="Delimiter">{</span>
 <span id="L985" class="LineNr"> 985 </span>  <span class="Conceal">¦</span> <span class="muControl">break-unless</span> sandbox-in-focus?
 <span id="L986" class="LineNr"> 986 </span>  <span class="Conceal">¦</span> render-from:num <span class="Special">&lt;-</span> get *env, <span class="Constant">render-from:offset</span>
@@ -1068,7 +1068,7 @@ if ('onhashchange' in window) {
 <span id="L1005" class="LineNr">1005 </span>  <span class="Conceal">¦</span> *env <span class="Special">&lt;-</span> put *env, <span class="Constant">render-from:offset</span>, render-from
 <span id="L1006" class="LineNr">1006 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L623'>hide-screen</a> <a href='../081print.mu.html#L4'>screen</a>
 <span id="L1007" class="LineNr">1007 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> render-sandbox-side <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
-<span id="L1008" class="LineNr">1008 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L460'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
+<span id="L1008" class="LineNr">1008 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L461'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env
 <span id="L1009" class="LineNr">1009 </span>  <span class="Conceal">¦</span> <a href='../081print.mu.html#L631'>show-screen</a> <a href='../081print.mu.html#L4'>screen</a>
 <span id="L1010" class="LineNr">1010 </span>  <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span>
 <span id="L1011" class="LineNr">1011 </span>  <span class="Delimiter">}</span>
@@ -1105,7 +1105,7 @@ if ('onhashchange' in window) {
 <span id="L1042" class="LineNr">1042 </span>  ]
 <span id="L1043" class="LineNr">1043 </span>  <span class="Comment"># create a sandbox</span>
 <span id="L1044" class="LineNr">1044 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[add 2, 2]</span>
-<span id="L1045" class="LineNr">1045 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L1045" class="LineNr">1045 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L1046" class="LineNr">1046 </span>  assume-console [
 <span id="L1047" class="LineNr">1047 </span>  <span class="Conceal">¦</span> press F4
 <span id="L1048" class="LineNr">1048 </span>  ]
@@ -1137,7 +1137,7 @@ if ('onhashchange' in window) {
 <span id="L1074" class="LineNr">1074 </span>  assume-resources [
 <span id="L1075" class="LineNr">1075 </span>  ]
 <span id="L1076" class="LineNr">1076 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L1077" class="LineNr">1077 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L1077" class="LineNr">1077 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L1078" class="LineNr">1078 </span>  <span class="Comment"># create 2 sandboxes</span>
 <span id="L1079" class="LineNr">1079 </span>  assume-console [
 <span id="L1080" class="LineNr">1080 </span>  <span class="Conceal">¦</span> press ctrl-n
@@ -1290,7 +1290,7 @@ if ('onhashchange' in window) {
 <span id="L1227" class="LineNr">1227 </span>  assume-resources [
 <span id="L1228" class="LineNr">1228 </span>  ]
 <span id="L1229" class="LineNr">1229 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L1230" class="LineNr">1230 </span>  <a href='004-programming-environment.mu.html#L394'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
+<span id="L1230" class="LineNr">1230 </span>  <a href='004-programming-environment.mu.html#L395'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L123'>render</a>
 <span id="L1231" class="LineNr">1231 </span>  <span class="Comment"># create a sandbox</span>
 <span id="L1232" class="LineNr">1232 </span>  assume-console [
 <span id="L1233" class="LineNr">1233 </span>  <span class="Conceal">¦</span> press ctrl-n