[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: how to prevent accidentally changing a read-only file to writable

Daniel Megert schreef:
> Sam Wu wrote:
>> 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?
>>   
> No.

But you can set the writability property in the fileâs properties window.

H.
-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html