[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
|
- From: Hendrik Maryns <4cs6fcg02@xxxxxxxxxxxxxx>
- Date: Tue, 07 Oct 2008 11:22:53 +0200
- Newsgroups: eclipse.newcomer
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; nl; rv:1.8.1.9) Gecko/20071114 SUSE/2.0.0.9-11.1 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666
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