Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Thu, Jul 19, 2001 at 03:26:42PM +0200, Jean-Marc Lasgouttes John> wrote: >> Making one is not a problem, but I'm looking for ideas on a >> convenient interface... John> why not a settings key/lyxfunc which will automagically do John

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread John Levon
On Thu, Jul 19, 2001 at 03:26:42PM +0200, Jean-Marc Lasgouttes wrote: > Making one is not a problem, but I'm looking for ideas on a convenient > interface... why not a settings key/lyxfunc which will automagically do ->edit() to bring up the right dialog in any circumstance ? It could even bring

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 19-Jul-2001 Jean-Marc Lasgouttes wrote: Juergen> Sure we have one, don't we?! >> It seems that we don't. Tabulars have layout-tabular, but there >> does not seem to be anything for minipages. Juergen> You'll make it, won'

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread Juergen Vigna
On 19-Jul-2001 Jean-Marc Lasgouttes wrote: > Juergen> Sure we have one, don't we?! > > It seems that we don't. Tabulars have layout-tabular, but there does > not seem to be anything for minipages. You'll make it, won't you ;) (btw.: I did know we don't have it) Jürgen -- -._-._-._-._-.

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 19-Jul-2001 Jean-Marc Lasgouttes wrote: >> The example that you propose shows that our UI is bad: >> left-clicking on an inset brings up the popup if there is one, >> *except* if it is a collapsable inset. In this case, it

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread Juergen Vigna
On 19-Jul-2001 Jean-Marc Lasgouttes wrote: > The example that you propose shows that our UI is bad: left-clicking > on an inset brings up the popup if there is one, *except* if it is a > collapsable inset. In this case, it expands the inset (which arguably Well make it better ;) > is a way to

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 19-Jul-2001 Jean-Marc Lasgouttes wrote: >> We already have the methods void Inset::open(BufferView*, bool) >> bool Inset::isOpen() which should be enough. Currently they do >> something only for collapsable inset, but I'd w

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-19 Thread Juergen Vigna
On 19-Jul-2001 Jean-Marc Lasgouttes wrote: > We already have the methods > void Inset::open(BufferView*, bool) > bool Inset::isOpen() > which should be enough. Currently they do something only for > collapsable inset, but I'd want to implement them for inset who have a > popup too. If you

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-12 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> Well I would not use close/open I would use Juergen> collapsed(true|false) as this is more precise what it is. Juergen> I'll have a look at this today! Thanks. JMarc

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-12 Thread Juergen Vigna
On 11-Jul-2001 Jean-Marc Lasgouttes wrote: > Hmm, do we want to do that or have more generic methods in Inset that > could be overloaded as you show for DialogInset and differently for > collapsable insets? This would seem simpler, like Yes IMO this is preferable! > class Inset { > ... > void

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-11 Thread Juergen Vigna
On 11-Jul-2001 Jean-Marc Lasgouttes wrote: > open-stuff is what is bound to C-o in 1.1.6 and earlier. Basically it [snip good explanation] > Is it clearer now? It is indeed! > Similarly, we will need a way to replace "{toggle|close|open} all > {floats|figures|footnotes}" that we used to have. I

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-11 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 11-Jul-2001 Jean-Marc Lasgouttes wrote: >> Yes, but an open one is HIGLY_EDITABLE, and thus currently, >> open-stuff just enters the inset in this case, which is not very >> useful. It should rather act as a toggle, and do t

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-11 Thread Juergen Vigna
On 11-Jul-2001 Jean-Marc Lasgouttes wrote: > Yes, but an open one is HIGLY_EDITABLE, and thus currently, open-stuff > just enters the inset in this case, which is not very useful. It > should rather act as a toggle, and do the same for insets with a popup > (and be renamed to toggle-stuff, or to

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-11 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 11-Jul-2001 Jean-Marc Lasgouttes wrote: >> I still do not know what to do about that. Currently, when an inset >> is HIGHLY_EDITABLE (like an open footnote, or a math inset), >> open-stuff just enters the inset, whih is not

Re: Re-implementing open-stuff [questions about insets and signa

2001-07-11 Thread Juergen Vigna
On 11-Jul-2001 Jean-Marc Lasgouttes wrote: > I still do not know what to do about that. Currently, when an inset is > HIGHLY_EDITABLE (like an open footnote, or a math inset), open-stuff > just enters the inset, whih is not very useful IMO. For collapsable > insets, it would be better to have a