On Tue, Nov 03, 2015 at 08:30:53PM -0500, Richard Heck wrote:
> On 11/03/2015 06:38 PM, PhilipPirrip wrote:
> >Just curious: what and when executes the code in os_win32.cpp (os_xxxx.cpp
> >in general). Whatever I did to test the patch, these functions were not
> >called.
> 
> The one Enrico modified is called when you try to view or edit a file that
> is referenced from an external inset. In fact, it does nothing except on
> OSX. A compiler might even notice this and omit the function call.

More precisely, that code is used only on Windows and OSX for launching
an editor or viewer registered in the OS for that file type. One can
tell what these are by the fact that the corresponding entries are
denoted by "auto" in the preferences, instead of the name of a program.

-- 
Enrico

Reply via email to