You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you open a read-only file and try to perform any of the comment actions (Toggle Line Comment, Add Block Comment, Remove Block Comment), the contents of the file will appear to change.
Note that it is not possible to save the file with these modifications.
Nevertheless, it should not be possible to apply commenting to a read-only document, even just at the UI level, if the document is read only, the menu items should be disabled, as for the delete/copy actions in the screenshot.
The text was updated successfully, but these errors were encountered:
rubenporras
changed the title
TextMate context menu actions should not be allowed in read-only documents
TM4E context menu actions should not be allowed in read-only documents
Aug 23, 2024
Currently, if you open a read-only file and try to perform any of the comment actions (Toggle Line Comment, Add Block Comment, Remove Block Comment), the contents of the file will appear to change.
Note that it is not possible to save the file with these modifications.
Nevertheless, it should not be possible to apply commenting to a read-only document, even just at the UI level, if the document is read only, the menu items should be disabled, as for the delete/copy actions in the screenshot.
Probably same problem and same pattern for the fix as in eclipse-lsp4e/lsp4e#1078
The text was updated successfully, but these errors were encountered: