Re: [code] [textadept] view questions

From: Mitchell <>
Date: Thu, 20 Jun 2013 09:54:38 -0400 (Eastern Daylight Time)


On Tue, 18 Jun 2013, Chris Emerson wrote:

> On Tue, Jun 18, 2013 at 10:29:34AM -0400, Mitchell wrote:
>> A `view.remove()` function would need to know which view to switch
>> to after the fact.
> What about allowing view:remove() on a view which isn't current?

I'm not sure how I feel about this because then `view:remove()` becomes
conditional which can be confusing.

>> I am more comfortable with the current implementation: the user moves to
>> the view they want to keep open and closes the other one.
> What about a multi-level split:
> View A |View B
> |
> +------------
> |View C
> |
> The user would like to remove view A but leave B/C as the top level split,
> and I don't think it's currently possible.

You are correct, this is currently not possible. I'm not sure how it would
be implemented though, based on the current method.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Thu 20 Jun 2013 - 09:54:38 EDT

This archive was generated by hypermail 2.2.0 : Fri 21 Jun 2013 - 06:36:36 EDT