[LyX/master] Do not run updateMacros if the buffer has not changed
Scott Kostyshak
skostysh at lyx.org
Fri Aug 30 15:40:15 UTC 2024
On Fri, Aug 30, 2024 at 03:14:21PM GMT, Jean-Marc Lasgouttes wrote:
> Le 30/08/2024 à 14:27, Scott Kostyshak a écrit :
> > I have a question only out of curiosity (it doesn't have any practical
> > consequence):
> >
> > Also, is id_ ever updated by just 1 in updateId()? When I put debug code
> > to print id_, when I type I see:
>
> > id_: 0
> > id_: 2
> > id_: 4
>
> You are right, of course. I knew about this 2-by-2 increase, but for some
> reason I convinced myself that that was related to an interference between
> the undo and the redo stack (don't ask).
>
> Actually, it was just that I misread the documentation of allRelatives().
>
> Fix pushed to master and stable.
>
> Thanks, Scott!
Great, thanks! Although from what I understand it has zero effect ;).
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/20240830/4a050f42/attachment.asc>
More information about the lyx-devel
mailing list