On 09/25/2015 09:45 PM, Leif Halvard Silli (russisk.no) wrote:

Allow me to express my view on the command that XXE, by default, insert
whenever I, as a user, select a default previewer via XXE’s own interface.

At the page you point to above, one reads the following:

]] Options "-W -n" mean: start a new instance of the application
    [ … snip … ] These options are required when the helper
    application is used to edit the content of an element, the
    content of an attribute or the whole document. [[

This seems to say that the option '-n' (which, if the application is
already running, creates a new instance) is necessary when **editing**
in an external application. However, my issue was **previewing**. And
when **previewing** a file, then, for the average user, there is no need
for a new instance (and some applications, like Firefox, do not even
permit - at least not in OSX - more than a single instance).

Therefore I propose, FIRSTLY, that XXE should discern between default
previewer and other helper applications. And, SECONDLY, that, on a Mac,
whenever a user, via XXE’s interface for selecting a defualt previewer,
selects a new default previewer, then the '-n' option should not be
included in the command-line that by default gets inserted. So for
example, if I used XXE’s interface to set Firefox as my default
previewer, then, by default, XXE should insert the following command-line:

     open -W -a /Applications/Firefox.app "%F"

(As opposed to the currention situation, when XXE inserts the following
command line: open -W -n -a /Applications/Firefox.app "%F")

OK. We'll review what's currently implemented for the Mac and try to improve things (if we find a simple way to do so).



--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to