From eff72334e1896062de24a4eb60c2d5899bba11cd Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 11 Nov 2024 18:33:07 +0300 Subject: session.tes: store the current tab style (width and hard-tabs); fixed for filenames containing ASCII 27 * You can now set a per-file tab style, that differs from the defaults established in the ED hook. This is important especially since we do not yet support per-project .teco_ini scripts where you could establish differing policies depending on the VCS repository. (The latter would be easy to implement, but we cannot currently easily extend the existing ED hooks.) * It's unlikely that files contain an ASCII 27, but not impossible. Therefore we now use ASCII 0 (^@) as a terminator. This indeed be safe under UNIX. Even better would be a string building construct for escaping ASCII 27 ($), though, as that would work with arbitrary bytes. --- lib/session.tes | Bin 2481 -> 2624 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'lib') diff --git a/lib/session.tes b/lib/session.tes index 598dbca..56634a5 100644 Binary files a/lib/session.tes and b/lib/session.tes differ -- cgit v1.2.3