Community
Participate
Working Groups
Create a file resource (f1.txt) Mark the file (f1.txt) as read-only thru the properties dialog Open the default text editor on the file (f1.txt) Try typing, and notice nothing happens. We should allow the user to type. Since there are no visual cues to show the file is read-only, the user is left confused as why the editor does not work. MS Word lets you open a read only file and modify it. Just when you save it prompts for another file name. NOTES:
PRODUCT VERSION: 0.122
This is still a problem with the text and java editors. They allow you to type in the editor opened on a read-only file. The Save option is also available which it should not be, only Save As. Also, closing the editor will ask if you want to save changes, say yes and you get an error could not overwrite read- only file! When closing the editor, show the Save As dialog when file is read- only.
We do not allow editing read-only files any longer, given that validateEdit did not turn the file into writable. The status line shows whether a file is read- only or not. This info is updated on part activation and focus changes.