aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-commands.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-20 13:50:13 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-20 13:50:13 +0200
commit2b5b2a48f8db3d6b73a0f1a6e0aeab3a940b3b85 (patch)
tree69e7a54ffb98301607ea9ebde4a2715fa146c3fc /src/core-commands.c
parentfcf962edded2d6a7cb638909587167261e4f2bb0 (diff)
downloadsciteco-2b5b2a48f8db3d6b73a0f1a6e0aeab3a940b3b85.tar.gz
^W^W and ^V^V can be typed completely with upcarets now and they case fold all expansions of ^EQq, ^EUq and so on
* Previously, there was no way to enter upper-case mode in interactive commands since the Ctrl+W immediate editing command is interpreted everywhere. * Without the case folding of ^EQq/^EUq results, the upper and lower case modes are actually pretty useless considering that modern keyboards have caps lock. So it was clear we need this, regardless of what the classic TECOs did. The TECO-11 manual is not very clear on this. tecoc apparently does not case-fold ^EQq results. * This opens up new idioms, for instance `EUq^W^W^EQq$` in order to upper case register q. It's also the only way you can currently upper-case Unicode codepoints.
Diffstat (limited to 'src/core-commands.c')
-rw-r--r--src/core-commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core-commands.c b/src/core-commands.c
index fb8f142..300ffef 100644
--- a/src/core-commands.c
+++ b/src/core-commands.c
@@ -2838,8 +2838,8 @@ teco_state_insert_process(teco_machine_main_t *ctx, const teco_string_t *str,
* Secondly, the command inserts <text>.
* In interactive mode, <text> is inserted interactively.
*
- * String building characters are \fBenabled\fP for the
- * I command.
+ * Unlike in classic TECO dialects, string building characters are
+ * \fBenabled\fP for the \fBI\fP command.
* When editing \*(ST macros, using the \fBEI\fP command
* may be better, since it has string building characters
* disabled.