Re: [code] Open file in the current view

From: Robert <rob.g.att.web.de>
Date: Wed, 20 Mar 2013 22:19:30 +0100

Hi Ryan,

this should not happen I think. If I use `io.open_file('some_file')`
from the command entry or from a simple shortcut it opens in the
current view. Have you wrapped this in something else? Are you using
the `gui.print` function somehow? This function does create new views.

Robert

On Wed, Mar 20, 2013 at 9:45 PM, Ryan Pusztai <rpusztai.att.gmail.com> wrote:
> Hi,
>
> I am trying to open a file from disk in the current view. I found
> io.open_file() but that opens a new view every time. Is there another way to
> just open the file in the same view?
>
> Thanks.
> --
> Regards,
> Ryan

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 20 Mar 2013 - 17:19:30 EDT

This archive was generated by hypermail 2.2.0 : Thu 21 Mar 2013 - 06:52:17 EDT