Le 20/10/2025 à 15:33, Jean-Marc Lasgouttes a écrit :
So we have a 300ms timer for the "expensive" stuff, which contains the selection of the current item in outline. Solutions may be
- smaller delay, but there is still a flicker.
- make selection faster; this is complicated because the toc can contain several buffers (child documents), so that a dichotomy is more difficult. - use a trivial cache of the last selected element to try before a full search.

I finally decided to cure the symptom instead of the cause for now. The issue with quotes is gone. Please test and tell me whether it is worth backporting to 2.5 (probably) or even 2.4 (probably not)

But considering that the timeout mechanism has been introduced for when people type quickly (or even cursor movements), it is probably possible to use the trivial cache approach mentioned above and get rid of the timer altogether.

I have opened a ticket to remember that:
https://www.lyx.org/trac/ticket/13242

JMarc
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to