Thoughts on new split-inset feature

Scott Kostyshak skostysh at lyx.org
Fri Dec 25 14:19:53 UTC 2020


On Fri, Dec 25, 2020 at 01:51:02PM +0100, Jürgen Spitzmüller wrote:
> Am Donnerstag, dem 24.12.2020 um 11:09 -0500 schrieb Scott Kostyshak:
> > 1. If I split a program listing, a blank line is created at the
> > beginning of the second inset. I did not expect this extra line.
> 
> This is because DEPM does nothing in listings insets. Conceptually, the
> empty line is correct if you split with the cursor at the beginning or
> end of a line.
> 
> > 2. Should arguments be duplicated? Currently they are kept in the
> > first inset, and the second inset does not receive them.
> 
> I don't see how this should be (easily) possible.
> 
> > 3. What should happen if we highlight text in an inset and do inset-
> > split? I do not find the current behavior (which ignores the
> > selection and just relies on cursor position) intuitive, but I'm not
> > sure what I would expect. I guess I would expect for there to be a
> > total of three insets, one containing the text before the selection,
> > one containing the selection, and one after the selection. But I
> > don't have a use case for it.
> 
> Me neither. The current behavior seemed the most plausible to me.

Thanks for the responses, Jürgen.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201225/b5353693/attachment.asc>


More information about the lyx-devel mailing list