Am Mittwoch, den 24.06.2020, 15:24 -0400 schrieb Scott Kostyshak:
> I like the autonests layout feature, but don't know much about it. Is
> the following expected?
> 
> 1. Open lib/examples/Presentations/Beamer.lyx.
> 2. Navigate to the frame "Purpose of this presentation".
> 3. Put the cursor before "For".
> 4. Press <Enter>.
> 5. Change the layout to one that Frame autonests, such as
> "enumerate".
> 
> What happens is that the enumerate is not nested in the frame, while
> I expected it to be nested. I know the interaction of all these
> things is quite tricky so I'm not sure if what I expected was
> correct.

It is expected in the sense of a feature limitation. When checking for
autonest, we only check the layout of the previous paragraph. We do not
consider yet nested paragraphs and go further back to their parents.

If you feel like it, the relevant code is in Text3.cpp, line 1596ff.

Jürgen

> 
> Scott

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to