On Wed, Mar 11, 2020 at 03:43:00PM +0100, Jean-Marc Lasgouttes wrote:
> Le 10/03/2020 à 15:31, Scott Kostyshak a écrit :
> > Perhaps the following be more reasonable and safer?
> > 
> >    setCursor(cur, cur.pit(), cur.pos());
> > 
> > The above seems safe since I'm just changing "0" to "cur.pos()", and I
> > don't see how the length of the paragraph can change after this
> > operation.
> 
> This might be a safer option, since Text::setCursor does some things that
> may or may not be useful here. Actually nobody knows and nobody dares to
> simplify the code there.

Sounds good. It's in master at adb7283b.

Thanks,

Scott

Attachment: signature.asc
Description: PGP signature

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

Reply via email to