From 39249ed57170f09e7dd2fc76c62b51d90a2a4d76 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 27 Jun 2025 16:13:15 +0200 Subject: fixed ^S/^Y for and * We must call teco_interface_bytes2glyphs() only ever with byte offsets that already exist in the buffer. * regression, introduced in aaa1d51a4c85fcc627e88ef7cf5292d9c5f5f840 --- tests/testsuite.at | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/testsuite.at b/tests/testsuite.at index 96d4978..2c298b6 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -215,6 +215,9 @@ AT_SETUP([Search and insertion ranges]) TE_CHECK([[@I/XXYYZZ/^SC ."N(0/0)' C @S/YY/ HK ^YU1U0 Q0-2"N(0/0)' Q1-4"N(0/0)']], 0, ignore, ignore) TE_CHECK([[@I/XXYYZZ/J @S/XX^E[^EMY]/ 1^YXa :Qa-2"N(0/0)']], 0, ignore, ignore) TE_CHECK([[@I/XXYYZZ/J @FD/^EMZ/ ^S+2"N(0/0)']], 0, ignore, ignore) +TE_CHECK([[@^Ua/XYZ/ Ga ^S+3"N(0/0)']], 0, ignore, ignore) +# NOTE: EN currently inserts another trailing linefeed. +TE_CHECK([[@EN/*/XYZ/ ^S+4"N(0/0)']], 0, ignore, ignore) AT_CLEANUP AT_SETUP([Editing local registers in macro calls]) -- cgit v1.2.3