Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9992
    ldm
    Participant

    Is there a setting, which allow to open the file READ-ONLY by default?
    Thank you!

    #9993
    Yutaka Emura
    Keymaster

    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!

    #9994
    ldm
    Participant

    Would you probably like to add a command-line switch allowing to open a file in the read-only mode?

    #9996
    ArthurZ
    Participant

    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?

    #9997
    ldm
    Participant

    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!

    #10006
    Yutaka Emura
    Keymaster

    Hello,

    /r is the read-only mode switch. Please see the Help or

    http://www.emeditor.com/help/howto/file/file_commandline.htm

    Thanks,

    #10007
    ldm
    Participant

    Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.