about summary refs log tree commit diff stats
path: root/Manual_tests.md
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-12-06 21:32:10 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-12-06 22:43:28 -0800
commit19597e7619babdf9a35efd61c9a87bdabd173569 (patch)
tree31cbcc00612487496264be97e1191db6e75306f8 /Manual_tests.md
parent01a26cad5f0abcd9aeb010ba91d33bcdb570256f (diff)
downloadtext.love-19597e7619babdf9a35efd61c9a87bdabd173569.tar.gz
redo version checks yet again
I'm starting to feel better after replacing 1 line with 20 and 2 new
bits of global state. I'm now handling two scenarios more explicitly:

* If I change Current_app within key_press, the corresponding text_input
  and key_release events go to the new app. If it's an editor it might
  insert the key, which is undesirable. Putting such handlers in
  key_release now feels overly clever, particularly since it took me
  forever to realize why I was getting stuck in an infinite loop.

* Both 'run' and 'source' can hit the version check, so we need to be
  able to transition from the 'error' app to either. Which
  necessitates yet another global bit of state: Next_app.
Diffstat (limited to 'Manual_tests.md')
-rw-r--r--Manual_tests.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Manual_tests.md b/Manual_tests.md
index 12d3a66..582de20 100644
--- a/Manual_tests.md
+++ b/Manual_tests.md
@@ -30,7 +30,7 @@ Code loading:
     - analogously, how a shape precisely looks as you draw it
 
 * start out running the text editor, press ctrl+e to edit source, make a change to the source, press ctrl+e twice to return to the source editor; the change should be preserved.
-* run with an untested version. Error message pops up. Press a key. Text editor comes up, and doesn't receive the key. Press ctrl+e. Source editor opens up. Press ctrl+e. Text editor returns.
+* run with an untested version. Error message pops up. Press a key. Text editor comes up, and doesn't receive the key. Press ctrl+e. Error pops up. Press a key. Source editor opens up. Press ctrl+e. Error pops up. Press a key. Text editor returns.
 * create a couple of spuriously failing tests. Run with an untested version. Error message includes message about untested version.
 
 ### Other compromises