kate: set buffer read-only
rhkramer at gmail.com
rhkramer at gmail.com
Fri May 7 20:54:01 BST 2021
On Friday, May 07, 2021 03:41:03 PM J Leslie Turriff wrote:
> The only thing I can find for this in Kate is Menu => Tools => Read-Only
> Mode. There is no command-line switch for this, nor can I find a DCOP
> function that toggles the setting; so one would have to first open the
> document, then use the Tools menu to disable writing, which seems quite
> error-prone. :-(
> It is, of course, possible that I've overlooked something.
Another option, that might or might not be acceptable, would be to take away
write permission on the underlying file -- you would still be able to edit the
buffer, but you would not be able to save those changes.
More information about the kde
mailing list