From ca0d7656b606703f1b5b52e59f0b46ca0038477e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 29 Mar 2025 15:15:26 +0300 Subject: added `@W`, `@P`, `@V` and `@Y` command variants * They swap the default order of skipping characters. For positive arguments: first non-word chars, then word chars. * This is especially useful after executing the non-at-modified versions. For instance, at the beginning of a word, `@W` jumps to its end. `@V` would delete the remainder of the word. * Since they have to evaluate the at-modifier, which has syntactic significance, the command implementations can no longer use transition tables, so they are in the switch-statements instead. --- doc/grosciteco.tes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/grosciteco.tes') diff --git a/doc/grosciteco.tes b/doc/grosciteco.tes index 9fe815d..ab653f0 100755 --- a/doc/grosciteco.tes +++ b/doc/grosciteco.tes @@ -135,7 +135,7 @@ EBN[input] !cmd.xF! L F< !cmd.xX! - :M#sw .U.x <0A-^^:"= 1; ' 0A-10"= 1; ' :C;> Q.x,.X.w + :M#sw .(@W).X.w Ocmd.xXQ.w !cmd.xXsciteco_topic! !* @@ -272,7 +272,7 @@ EBN[input] !cmd.C! :M#sw 0A-^^u"= !* FIXME: This can be CuXXXX_XXXX (decomposed, e.g. for cyrillic ะน) *! - C 16 \U.w  LR + C 16 \U.w  @W | .(:M#sa).X.w 0Q[glyphs.Q.w]U.w ' -- cgit v1.2.3