On Tue, Nov 27, 2012 at 2:35 PM, Jürgen Spitzmüller <sp...@lyx.org> wrote:
> Liviu Andronic wrote:
>> Two (somewhat cosmetic) follow-up questions:
>> - By default custom insets are 'Closed' (collapsed). This interferes
>> with the workflow in many situations, including in the new Sweave
>> Chunk. Would it be possible to have a 'Closed true/false' layout
>> parameter for insets so that layout tinkerers can set up a sensible
>> default?
>
> I think generally they should be opened after inserting, but my opinon is not
> very strong.
>
Right now this is what happens:
- Insert > 'Sweave Chunk': the inset gets inserted and the cursor is
placed in teh inset
- Type '2+2'
- Move the cursor outside the inset: the inset gets 'Closed' (collapsed)

The last part is suboptimal. It would be more desirable if after
moving outside the inset, the inset would stay 'Opened'
(un-collapsed). A  'Closed true/false' layout parameter would allow to
avoid the inset auto-collapsing when the cursor is placed outside it.


>> - In the case of 'mandatory' arguments, wouldn't it be better UI to
>> have these arguments inserted automatically when the parent inset is
>> being inserted? What I have in mind is that when an 'Sweave Chunk' is
>> inserted, it should automatically come with an 'Chunk Options'
>> argument.
>
> I don't like that. The drawbacks of such automatic insertion are demonstrated
> by the caption inset.
>
I'm not sure I follow. I've been a happy user of the caption inset for
ages. (But I do agree that automatically inserting the argument inset
is up for debate.)

Liviu

Reply via email to