Leafpad is the default text editor for .php files on my pi. I believe this is the default setting... and it works fine for local files.
I connected my pi to an SSH server via SFTP so I can browse the files through a PCManFM window, but when I try to open files from the remote server, Leafpad opens a blank (Undefined) window.
I'm looking for other LXDE text editors to see if a different one will accommodate... but I've used gedit in Ubuntu like this with no problems, so I'm not sure why this is not working as expected?
I realize this is probably more of a general Linux question, but I'm wondering if someone has had a similar issue and found a workaround/fix?