<p></p>
<p>Hello,</p>
<p>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!</p>
<p>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.</p>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2915">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4M45YI6JAV4KA3WALUFGM65ANCNFSM5FJH46NA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ67PQTJFZG4UCVIEJ3UFGM65A5CNFSM5FJH46NKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PEBPQKA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2915",
"url": "https://github.com/geany/geany/issues/2915",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>