aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-22 15:19:53 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-22 15:19:53 +0300
commitab35f6618bc8beb4543cbc7c62332f82d7d5699c (patch)
tree95a98e9fd38173b1eae42a3e4a1009b61b55b7f0 /tests
parentfe69fdb29f994db3bbcaffcb202856618b03b9b0 (diff)
downloadsciteco-ab35f6618bc8beb4543cbc7c62332f82d7d5699c.tar.gz
added `P` command as a reverse form of `W`
* All the movement commands have shortcuts for their negative forms: `R` instead of `-C`, `B` instead of `-L`. Therefore there was always the need for a `-W` shortcut as well. * `P` is a good choice because it is a file IO command in TECO-11, that does not make sense supporting. In Video TECO it toggles between display windows (ie. split screens) and I do not plan to support multiple windows in SciTECO. * Added to the cheat sheet.
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.at3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index c76c4c5..7c3cf97 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -116,8 +116,7 @@ AT_CLEANUP
AT_SETUP([Moving by words])
AT_CHECK([$SCITECO -e "Z= 3J 2W .-18\"N(0/0)'" "$WORDS_EXAMPLE"], 0, ignore, ignore)
AT_CHECK([$SCITECO -e "@I/foo ^J bar/ JW .-6\"N(0/0)'"], 0, ignore, ignore)
-# FIXME: Sooner or later, there will be a shortcut for -W.
-AT_CHECK([$SCITECO -e "Z-4J -3W .-12\"N(0/0)'" "$WORDS_EXAMPLE"], 0, ignore, ignore)
+AT_CHECK([$SCITECO -e "Z-4J 3P .-12\"N(0/0)'" "$WORDS_EXAMPLE"], 0, ignore, ignore)
AT_CLEANUP
AT_SETUP([Deleting words])