aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-25 13:56:20 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-25 13:56:20 +0200
commitdcaeb77ef2c5fad1810d242d7a96669e33c4b082 (patch)
tree0b0119ea5f420777f077ffe285d8dcccc5425da9 /doc
parentc2887621a37f429e2e05b561631fff01da8bd462 (diff)
downloadsciteco-dcaeb77ef2c5fad1810d242d7a96669e33c4b082.tar.gz
inhibit some immediate editing commands after ^Q/^R string building constructs
* This allows you to type ^Q^U (which would otherwise rub out the entire argument) and ^Q^W (which would otherwise rub out the ^Q). * ^Q^U coincidentally worked previously since the teco_state_stringbuilding_escaped state would default to teco_state_process_edit_cmd(). But it's better to make this feauture explicit. * This finally makes it possible to insert the ^W (23) char into a buffer. In interactive mode, you can still only type Caret+W as a string building construct. * ^G could also be inhibited after ^Q, but the control char is not used anywhere yet, so there is no point in doing that.
Diffstat (limited to 'doc')
-rw-r--r--doc/sciteco.7.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template
index a476091..ca93fa6 100644
--- a/doc/sciteco.7.template
+++ b/doc/sciteco.7.template
@@ -1694,6 +1694,9 @@ thus refers to the corresponding control code:
Escape character \fIc\fP.
The character is not handled as a string building or string termination
character, so for instance \(lq^Q^Q\(rq translates to \(lq^Q\(rq.
+Furthermore, some immediate editing commands are inhibited right after \fB^Q\fR,
+so you can type \(lq^Q^U\(rq and \(lq^Q^W\(rq, which translate to control codes
+21 and 23.
.TP
.SCITECO_TOPIC ^V^V ^Vc lower
.B ^V^V