EmEditor (text editor) Forum Index Questions and Answers about EmEditor Core
Opening the files READ-ONLY by default | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| dmitryl | Posted on: 2/10/2012 12:33 pm |
Just can't stay away ![]() ![]() Joined: 12/25/2009 From: Posts: 73 |
Opening the files READ-ONLY by default Is there a setting, which allow to open the file READ-ONLY by default?
Thank you! |
| Yutaka | Posted on: 2/10/2012 1:21 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2401 |
Re: Opening the files READ-ONLY by default Hello,
The only way is to open from Explorer plug-in, right-click on files you want to open, and then select "Open as Read-only". Thanks!
|
| dmitryl | Posted on: 2/10/2012 2:11 pm |
Just can't stay away ![]() ![]() Joined: 12/25/2009 From: Posts: 73 |
Re: Opening the files READ-ONLY by default Would you probably like to add a command-line switch allowing to open a file in the read-only mode?
|
| ArthurZ | Posted on: 2/10/2012 7:06 pm |
Just can't stay away ![]() ![]() Joined: 1/26/2012 From: Posts: 78 |
Re: Opening the files READ-ONLY by default I did not see such a setting and i think it slightly defeats the purpose of using an "editor".
However, I think it would not be too difficult to add a tool that passes the currently open file to a viwer or even write such a plugin. I am also curious under what circumstances such a capability is really useful? |
| dmitryl | Posted on: 2/11/2012 12:40 am |
Just can't stay away ![]() ![]() Joined: 12/25/2009 From: Posts: 73 |
Re: Opening the files READ-ONLY by default ArthurZ,
Opening a file in the Read-Only mode insure that you will not change it occasionally. In this mode the Editor works as a Viewer while preserving all highlights, tags and other settings. A possibility to pass a Read-Only flag/switch/parameter from a command line is also might be very useful since it allows opening the files in the Viewer(Read-Only) mode automatically by just passing a file name to the script. Thank you! |
| Yutaka | Posted on: 2/11/2012 8:44 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2401 |
Re: Opening the files READ-ONLY by default Hello,
/r is the read-only mode switch. Please see the Help or http://www.emeditor.com/help/howto/file/file_commandline.htm Thanks,
|
| dmitryl | Posted on: 2/11/2012 9:57 am |
Just can't stay away ![]() ![]() Joined: 12/25/2009 From: Posts: 73 |
Re: Opening the files READ-ONLY by default Thanks!
|
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |




