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

Post bug reports when testing beta versions here.
Post Reply
User avatar
pjj
Posts: 2130
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

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

Post 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.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6628
Joined: 19 Jul 2006 14:29

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

Post 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.
User avatar
pjj
Posts: 2130
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

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

Post by pjj »

I think I nailed it: you need to have PHP language server running.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6628
Joined: 19 Jul 2006 14:29

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

Post 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...
Post Reply