- AuthorPosts
- February 10, 2012 at 9:33 pm #9992ldmParticipant
Is there a setting, which allow to open the file READ-ONLY by default?
Thank you!February 10, 2012 at 10:21 pm #9993Yutaka EmuraKeymasterHello,
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!
February 10, 2012 at 11:11 pm #9994ldmParticipantWould you probably like to add a command-line switch allowing to open a file in the read-only mode?
February 11, 2012 at 4:06 am #9996ArthurZParticipantI 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?February 11, 2012 at 9:40 am #9997ldmParticipantArthurZ,
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!February 11, 2012 at 5:44 pm #10006Yutaka EmuraKeymasterHello,
/r is the read-only mode switch. Please see the Help or
http://www.emeditor.com/help/howto/file/file_commandline.htm
Thanks,
February 11, 2012 at 6:57 pm #10007ldmParticipantThanks!
- AuthorPosts
- You must be logged in to reply to this topic.