Page 1 of 1

FIXED: [16.42] BUG: Lines disappearing

Posted: 17 Jul 2025 10:12
by vha
when editing a file (.txt, .cpp) and saving it, the lines at position 201, 402, 603, ... are stripped.

no idea why


vha

Re: [16.42] BUG: Lines disappearing

Posted: 17 Jul 2025 10:35
by crtrubshaw
Confirmed, in fact if you just open and then save it, this happens :shock:

Possibly this? (from the Change History)...

Save (large files)
Save should be much faster now for all files. Especially very large files.

Re: [16.42] BUG: Lines disappearing

Posted: 17 Jul 2025 10:49
by pjj
So it's not only for hardlinked files, as I supposed yesterday?? Because I copied my fateful file to another disk, and then was able to edit and save it correctly.

On a side note, I tried to downgrade, but 1) I couldn't find links to previous versions, and when I finally found one (and quite old one at that) at FOSS Hub, 2) I couldn't install it properly without prior uninstalling RJ TextEd (I later found out it was installation exe in /updates interfering with my feeble attempts to have previous version.) So, perhaps, links to older versions could be added somewhere (on the main page?) with instruction how to downgrade smoothly.

Re: [16.42] BUG: Lines disappearing

Posted: 17 Jul 2025 11:12
by uwix
Also noticed this with working in PS1 and JSON files. Took me about 3 hours before I discover my JSON with over 1000 lines was screwed up. Because lines are deleted the online validators still agree the JSON is valid.

Well, I tried to find the previous version of RJ TextEd but cannot seem to find it online. Switched to Notepad++ for now but I do want to switch back.

Re: [16.42] BUG: Lines disappearing

Posted: 17 Jul 2025 11:32
by pjj
FWIW I just e-mailed Rickard in case he hasn't seen this thread yet, suggesting taking off download links for now.

I also found these: ver. 16.40 and ver. 16.40

Re: [16.42] BUG: Lines disappearing

Posted: 17 Jul 2025 12:33
by Rickard Johansson
Should be fixed in v16.43 viewtopic.php?t=5878.

Thanks!

I've had some problems with a crashing Delphi IDE. Looking back at the save function in v16.42, there are code missing and some variables are never used.

Anyway, I'm sorry and hopefully it all works now.