[patch] Selection stats in statusbar

Jürgen Spitzmüller jspitzm at gmail.com
Thu Aug 18 09:44:49 UTC 2022


Am Donnerstag, dem 18.08.2022 um 11:31 +0200 schrieb Daniel:
> This shouldn't be an issue. The idea is that statistics are only 
> generated after some time has passed without interruption. They are
> not 
> shown immediately. Hence, continuous arrow key movement would not 
> trigger statistics at all. (Same for continuous typing which is an 
> advantage to the current implementation which continuously triggers 
> statistics.)

It _is_ an issue if you blindly call functions if not needed, even if
they exit early. This is really not better than the current timer-based
approach.

Statistics should only be called when needed.

-- 
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220818/9ec4ea51/attachment.asc>


More information about the lyx-devel mailing list