General questions about using TextPad
Moderators: AmigoJack , bbadmin , helios , Bob Hansen , MudGuard
Drxenos
Posts: 209 Joined: Mon Jul 07, 2003 8:38 pm
Post
by Drxenos » Mon May 22, 2023 1:17 pm
bbadmin wrote: ↑ Mon May 22, 2023 1:14 pm
Try saving as UTF-8.
I did, and also UTF-16. It didn't help.
Thanks.
bbadmin
Site Admin
Posts: 878 Joined: Mon Feb 17, 2003 8:54 pm
Contact:
Post
by bbadmin » Mon May 22, 2023 5:07 pm
As I can't reproduce this problem, there must be something unusual about your setup. Please will you email a copy of this file to the same address as before:
%APPDATA%\Helios\TextPad\9\ConfigState.xml
Drxenos
Posts: 209 Joined: Mon Jul 07, 2003 8:38 pm
Post
by Drxenos » Mon May 22, 2023 5:18 pm
Thanks. I send the file you requested.
I get this same behavior on more than one machine.
As I test, I tried an older version of TextPad (8.8.1). This does not exhibit the behavior.
Thanks for the support. I'd be happy to run any tests you'd like me to.
Drxenos
Posts: 209 Joined: Mon Jul 07, 2003 8:38 pm
Post
by Drxenos » Mon May 22, 2023 7:16 pm
I've been playing around with this and I've noticed a couple of things:
1. It only fails where there is more than one match per line (which seems why it doesn't fail with "Match case" checked).
2. I can make it fail if the file contains nothing more than "HANDBRAKE copy"
bbadmin
Site Admin
Posts: 878 Joined: Mon Feb 17, 2003 8:54 pm
Contact:
Post
by bbadmin » Tue May 23, 2023 12:37 pm
Thanks for helping to track this bug down. It occurs under the following circumstances:
If there's more than 1 match in a line
and the replacement text is longer than the original and includes references to the matched characters
and memory for the line is reallocated.
It will be fixed in the next release.
Drxenos
Posts: 209 Joined: Mon Jul 07, 2003 8:38 pm
Post
by Drxenos » Tue May 23, 2023 12:59 pm
Huzzah! Thank you so much for fixing this.
DrX