James Cuénod wrote:
       The check.if.already.open property can be set to allow files to
    open into an existing instance of SciTE.

Sorry, where should this be set? Global Options?

Better in user options.

     > And can we have
     > options of whether to open in new instance or in a new tab by right
     > clicking? And how do we do it...?

    SciTE -check.if.already.open file.txt


This did not seem to work for me either. Is there any logical reason that comes to mind

Of course, SciTE must be in the path or full path must be given.
Example for Windows:

"C:\Program Files\UText\SciTE\SciTE.exe" -check.if.already.open=0 Report.txt

(one line)
If you omit the option (or set it to 1), it will open a new tab in the current instance if the corresponding menu item isn't deselected. If you provide the above option, it will open the file in a new instance of SciTE.

On Windows at least, when the option is set to 0, it deactivates the menu item, so you cannot open another file in this instance this way (but can still with File > Open or drag'n'drop). On second thought, it isn't so smart (it is my design...), I should not deactivate this item so user can change his mind and allow this instance to accept new files.

The rationale behind the current design is that if the option is set to 0, that's because the user always wants only one file per instance (I think that's the way Neil uses SciTE).
But I forgot local settings, command-line dynamic settings, and so on.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to