My bad, this is not a bug, but a bad test on my part.
The "Bad TSE 4.50.15" stands, because the bug that a user reported in the private mailing list was real, and will be fixed in 4.50.16.
Carlo
From:
sem...@googlegroups.com <
sem...@googlegroups.com> On Behalf Of H P
Sent: Monday, December 8, 2025 9:08 PM
To:
sem...@googlegroups.com
Subject: Re: [TSE] Bad TSE 4.50.15
Carlo,
I tried this line and your right but then I tried it on 4.50.13 and got the same result ("").
Met vriendelijke groet,
With kind regards,
Muy atentamente,
Mit Freundliche Gruß,
Sinceramente,
H. Pikaar
mailto:
Henri...@gmail.com
Op zo 7 dec 2025 om 13:43 schreef Carlo Hogeveen <mailto:
t...@ecarlo.nl>:
Bad TSE 4.50.15.
A user in the private mailing list found a bug in a core part of the editor, where a found string is marked by MarkFoundText() but
not returned by GetFoundText(1) and/or GetFoundText().
GetFoundText() is used by macros and by TSE itself.
Playing around with that I came across the following bug.
The example assumes that you are looking at an editing buffer that contains at least one letter or digit.
Execute the following line in the Macro Execute menu's prompt:
execute UnmarkBlock() if lFind("[0-9A-Za-z]@","gx") Warn('"', GetFoundText(), '"') MarkFoundText() else Warn('Not found.') endif
In this case either the lFind() has the bug that it finds an empty string, or MarkFoundText() still has a bug not marking the
not-empty string. Either way GetFoundText() erroneously returns an empty string.
This is not-good in a core part of the editor, and might be a reason to not upgrade yet, or to revert an already done upgrade.
Carlo
--
---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mailto:
semware%2Bunsu...@googlegroups.com.
--
---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mailto:
semware+u...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/semware/CAAR3jqF3FcYXfu0m_Ohe4tFtMGfVVzkOq%3DQGk526YMs6CcpJWA%40mail.gmail.com?utm_medium=email&utm_source=footer.