[LyX/master] Fix ToC action when cursor is in adv. F&R pane
Kornel Benko
kornel at lyx.org
Sat Jul 2 07:45:46 UTC 2022
Am Thu, 30 Jun 2022 18:56:38 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes.lyx.org at free.fr>:
> Le 30/06/2022 à 18:01, Kornel Benko a écrit :
> > It works, but still _many_ calls to FindAndReplaceWidget::eventFilter.
> > (The simple start of findadv causes here 37 calls)
>
> I am not sure that this is an issue. For example, I suspect that one
> redraw will trigger eventFilter for each element (checkbox...) in the
> F&R widget.
>
> JMarc
That makes sense. Good work, thanks.
Another issue with TOC. Each keystroke or moue-click causes TOC to
be rebuild twice. This is better as it was before your changes (the rebuild was trice
then)
The rebuild is _not_ done if the cursor is in Chapter. Inside any Section, Subsection
etc. it is rebuilding.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220702/69ba376d/attachment.asc>
More information about the lyx-devel
mailing list