POV-Ray : Newsgroups : povray.general : Start with empty editor Server Time
1 Nov 2024 11:16:20 EDT (-0400)
  Start with empty editor (Message 1 to 5 of 5)  
From: Christian Froeschlin
Subject: Start with empty editor
Date: 7 Dec 2012 23:10:06
Message: <50c2bd9e@news.povray.org>
On startup, the editor of the Windows version (both 3.6 and 3.7)
automatically reloads all files that were open in the previous session.
Is there a setting to prevent this?

It's mostly a problem with keep single instance when opening files
from explorer, this ends up with a lot of files being open in two
instances and me always editing the unintended version ;)

I think the reloading should normally not occur when an explicit
file name is passed as command line parameter. Actually I'm not sure
if 3.6 did this, couldn't get Windows to restore the file association
to the old binary (I think it got confused because the name of the
exe is identical).


Post a reply to this message

From: Chris Cason
Subject: Re: Start with empty editor
Date: 7 Dec 2012 23:17:55
Message: <50c2bf73@news.povray.org>
On 8/12/2012 15:10, Christian Froeschlin wrote:
> On startup, the editor of the Windows version (both 3.6 and 3.7)
> automatically reloads all files that were open in the previous session.
> Is there a setting to prevent this?

You can supply /norestore on the command-line if you wish.

-- Chris


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Start with empty editor
Date: 8 Dec 2012 16:17:40
Message: <50c3ae74@news.povray.org>
Chris Cason wrote:

> You can supply /norestore on the command-line if you wish.

ah, perfect and vaguely familiar too ;) I think I changed
the shell commands for 3.6 years ago, so I first thought the
behavior was changed with 3.7, when in fact it was just the
file association that got updated by the 3.7 installer.

BTW I encountered a strange effect:

   /NORESTORE /EDIT xyz.pov

worked, but

   /EDIT /NORESTORE xyz.pov

appeared to be interpreted as /RENDER instead.


Post a reply to this message

From: Eero Ahonen
Subject: Re: Start with empty editor
Date: 9 Dec 2012 05:15:00
Message: <50c464a4$1@news.povray.org>
Christian Froeschlin wrote:
>
> BTW I encountered a strange effect:
>
>    /NORESTORE /EDIT xyz.pov
>
> worked, but
>
>    /EDIT /NORESTORE xyz.pov
>
> appeared to be interpreted as /RENDER instead.

Wild guess: would /EDIT xyz.pov /NORESTORE work better?

-Aero


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Start with empty editor
Date: 9 Dec 2012 21:08:52
Message: <50c54434$1@news.povray.org>
Eero Ahonen wrote:

> Wild guess: would /EDIT xyz.pov /NORESTORE work better?

I see what you're getting at ;) yes that works too.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.