Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Reload current file in read-only mode #2915

Closed
alex-georgiou opened this issue Oct 4, 2021 · 2 comments
Closed

Feature request: Reload current file in read-only mode #2915

alex-georgiou opened this issue Oct 4, 2021 · 2 comments

Comments

@alex-georgiou
Copy link

Hello,

Often I have opened a file in read-write mode (default), then I later realize I shouldn't be editing it. So I have to close the file, and then navigate to its directory again and re-open it with the "view" button. This happens to me more often than you'd think!

I would find it very useful if there was a quick way to toggle whether an open file is in read-only or read-write mode. Perhaps there could be a menu item "Reload as read-only" under the "File" menu.

Of course, if the file is already modified (dirty) and read-only mode is then turned on, then the save dialog would have to be displayed, before going into read-only mode.

@elextr
Copy link
Member

elextr commented Oct 4, 2021

Menu->Document->Read Only ?

@alex-georgiou
Copy link
Author

Wow, I hadn't seen that, thanks! It's exactly what I needed. What a great editor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants