From e48f1a6b5319224a92a8e7d60cbf5a4098d14ff5 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 27 Sep 2026 00:12:30 +0200 Subject: ^E at the end of a line in a string argument "swallows" the EOL character This is similar to `\` at the line end in many languages like C and allows you to split a very long string argument over several lines without adding the EOL characters themselves. The TECO equivalent to `\` would be ^Q, but it would be a semantic exception since ^Q (escaping) is supposed to _preserve_ the value of the following character. Therefore I decided to use ^E instead. This works with DOS and Mac line breaks as well. --- doc/sciteco.7.template | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index 14aee77..86ca68f 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -1878,6 +1878,11 @@ Analogous to \fB^V\fP, but upper-cases characters. Since \fB^W\fP is an immediate editing command, this can practically be typed only with upcarets in interactive mode. .TP +.SCITECO_TOPIC ^E^J ^E^M^J ^E^M +.BI ^E eol +\fB^E\fP followed by an end of line character (LF, CRLF or CR) is ignored, +so you can split a long string argument over several lines. +.TP .SCITECO_TOPIC ^E\[rs] ^E\[rs]q .BI ^E\(rs q Expands to the formatted number stored in the -- cgit v1.2.3