Currently when we toggle read-only status jEdit changes file attribute on disk. In
many cases such change is acceptable. In some cases it's a bad idea. For example,
I want to open a file in save mode on Windows platform.I toggle read-only, jEdit changes
the file status to read only. Later I can't overwrite this file with different FTP
clients or changes this file with another programs. I should go to any file manager
and change the file status back. The most of other editors just keep read-only as
the status of the buffer and the editor doesn't allow to overwrite the original file.
This issue is especially important when we use FTP plug-in and open a file directly
from FTP server. I don't see here any option to prevent occasional overwriting.
I think it's easy to add the second mode of read-only status as the buffer attribute
and not on file system level only. I am sure we can write a simple plug-in for it,
but I believe read-only buffer status should be in jEdit core.
Thanks\!
Submitted | yurad - 2007-04-10 18:15:58 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | core |
Status | open | Group | None |
Resolution | None |
2007-04-13 05:57:31 elvez671 |
Logged In: YES |
---|---|
2007-04-13 14:04:15 yurad |
Logged In: YES |
2007-04-13 16:11:02 elvez671 |
Logged In: YES |
2007-04-26 03:34:27 yurad |
Logged In: YES |