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.
See also #340 which is related in terms of the backend required (retrieving file permission bits over SFTP).
jEdit 5.1.0
Oracle JRE 1.8.0_11
Windows 7 Enterprise 64-bit
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)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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)