[PATCH] outline-up/down: preserve cursor's position

Scott Kostyshak skostysh at lyx.org
Wed Mar 11 13:57:40 UTC 2020

On Tue, Mar 10, 2020 at 04:56:35PM +0100, Pavel Sanda wrote:
> On Tue, Mar 10, 2020 at 10:31:10AM -0400, Scott Kostyshak wrote:
> > your questions. I tried to test regarding Pavel's concern, but I don't
> > know a situation when the depth changes; 
> Actually you are likely right. The destruction of depth structure comes
> with moving paragraphs lfuns, not outlines-up/down.

However, since I'm not sure I suppose I should use the safe version and
put a comment that the line might not be necessary if depth is
guaranteed not to change. Does that sound like a good plan?

-------------- 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/20200311/6c9db744/attachment.asc>

More information about the lyx-devel mailing list