LoadHistory() bug

18 views
Skip to first unread message

Carlo Hogeveen

unread,
Feb 23, 2026, 5:11:39 AMFeb 23
to sem...@googlegroups.com

Hi Sammy,

If LoadHistory() has a non-existent file as a parameter or tsehist.dat does not exist, then LoadHistory() sets NumHistoryNames() to 0, but no histories are deleted from TSE's history lists buffer.
That is inconsistent and corrupts TSE's history lists buffer.
My preference would be that in such cases TSE's history lists buffer gets initialized.
Knowing the bug I can and will just program around it, but it might be nice to fix this for future usage.

Aside, I am now using and relying on the NumHistoryNames() function you added for me.
Thank you!

Carlo



S.E. Mitchell

unread,
Feb 25, 2026, 6:22:46 AMFeb 25
to sem...@googlegroups.com
This has been fixed.
--
> --
>
> ---
> 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 semware+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/semware/000801dca4ac%24cc383c80%2464a8b580%24%40ecarlo.nl.
Reply all
Reply to author
Forward
0 new messages