Page 1 of 1

FIXED: [16.25b2] Problem with the editor

Posted: 26 Jun 2024 14:03
by pjj
Probably my most general subject ever, but I can't be more specific at the moment: my editor is endlessly trying to load a file with which there was a problem and it can't load it :( On my second machine the situation is the same.

The file RJ TE tries to load is the one during previous session there was a problem with, and on which it hung. It was a PHP file, wherein before opening PHP tag I tried to input HTML tag to try out new features in the style attribute. I could edit TXT and MD files without a problem, but not PHP.

Edit: I managed the situation; alas, I must confirm problem with PHP files (multihighlighter). And HTML files, too: as soon as I open new one, editor hangs. I guess I'll revert to previous stable.

Re: [16.25b2] Problem with the editor

Posted: 26 Jun 2024 17:23
by Rickard Johansson
Are you able to send a file RJ TextEd can't open? (perhaps your settings file as well?)

I've tried about 10 PHP files (pretty large) and they open up fine :?

Re: [16.25b2] Problem with the editor

Posted: 26 Jun 2024 17:39
by pjj
It was nothing special really, just a PHP file with PHP open tag and a couple of newlines inserted before it (I saw it in temp directory before I deleted it). I guess there was some info written somewhere that these files were troublesome, but no idea where it could be; nothing strange in _reopen.txt nor in the other file in the temp directory (_left.txt or so). I can see nothing suspicious in DebugOutput.txt either, but I could send it to you if you want to (is there any other debugging info available? there was no crash, so no crash report). I could also did another round of tests, i.e. update to the newest beta again (I'm on 16.21 right now), but I will be able to do this only tomorrow.

Re: [16.25b2] Problem with the editor

Posted: 26 Jun 2024 18:21
by Rickard Johansson
Just noticed that a blank PHP file is enough to crash the editor :shock:

I'll fix it...

Re: [16.25b2] Problem with the editor

Posted: 26 Jun 2024 18:49
by pjj
PHP is a very powerful language, you know :wink:

Re: [16.25b2] Problem with the editor

Posted: 26 Jun 2024 19:22
by Rickard Johansson
I know :)

And here I was opening large files thinking that size matters :shock: :-D

Re: FIXED: [16.25b2] Problem with the editor

Posted: 27 Jun 2024 07:56
by Rickard Johansson
Should be fixed now in beta 3.

Re: FIXED: [16.25b2] Problem with the editor

Posted: 27 Jun 2024 08:24
by pjj
Image

I've been already working with beta 3, I installed it right away. Huge thanks!