Re: [code] Open file in the current view

From: Ryan Pusztai <rpusztai.att.gmail.com>
Date: Wed, 20 Mar 2013 22:44:28 -0400

Hi Robert,

Thanks for the reply. I am launching it from a context menu and I am
gui.print() for some debugging. Do you think that if I remove the print it
will work?

--
Regards,
Ryan
On Mar 20, 2013 5:19 PM, "Robert" <rob.g.att.web.de> wrote:
> 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.
>
>
-- 
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 - 22:44:28 EDT

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