[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] how to prevent accidentally changing a read-only file to writable
|
I created a project using existing source code, in which most of files are
read only.
While I am browsing the code of a file, sometimes I accidentally will type
space characters or enter keys.
This will bring up a dialog saying something like: "this file is read only,
do you want to change to writable".
The default focus of this dialog is on the "Ok" button, instead of "cancel"
button.
Therefore, if I accidentally pressed space or enter key, the file is changed
to writable, which is bad for me.
Is it possible to disable that dialog or change the default focus the dialog
to be on the "cancel" button?
Thanks.