When opening a file from sftp:// which is read-only on the remote filesystem, the buffer should be flagged read-only to prevent unintentional edits - consistent with local file behaviour.
jEdit 5.1.0
Oracle JRE 1.8.0_11
Windows 7 Enterprise 64-bit
It would also be nice if
Macros => Files => Toggle ReadOnly
would work on remote files too.
I assume that the macro itself belongs to the editor core.
Not sure where changes are needed to make this happen (core/plugins)