Page 1 of 1

FIXED? [15.90b2&3] Editor hangs on return in PHP file

Posted: 13 Jun 2023 15:15
by pjj
When I place the caret just after opening PHP tag sitting on the first line of a file and hit the return key, the editor immediately hangs. Sometimes when I extend selection to the first line with opening PHP tag, editor hangs as well. This happened with beta2 and is happening with beta 3, too.

Re: [15.90b2&3] Editor hangs on return in PHP file

Posted: 13 Jun 2023 15:55
by Rickard Johansson
I have no idea how to reproduce this. I've tried with an empty file with just the PHP opening tag and other PHP files, with no luck.

Re: [15.90b2&3] Editor hangs on return in PHP file

Posted: 13 Jun 2023 16:32
by pjj
I think I nailed it: you need to have PHP language server running.

Re: [15.90b2&3] Editor hangs on return in PHP file

Posted: 13 Jun 2023 17:19
by Rickard Johansson
I can't reproduce the hanging, but there is something wrong with the "change" message sent to the server.
When pressing enter at the first line, after the opening PHP tag, the editor tells the language server that the PHP tag has been deleted from the line.

I'll fix it...