Re: [PATCH] Improve the performance of the source panel by using a QTimer (bug #9493)

2015-08-02 Thread Guillaume Munch
Le 02/08/2015 02:38, Richard Heck a écrit : On 08/01/2015 04:37 PM, Pavel Sanda wrote: Guillaume Munch wrote: +const int long_delay = 400; +const int short_delay = 40; So we will regenerate paragraph each 40ms no matter whether user typed/moved with the cursor or this gets triggered

Re: [PATCH] Improve the performance of the source panel by using a QTimer (bug #9493)

2015-08-02 Thread Guillaume Munch
Le 02/08/2015 02:38, Richard Heck a écrit : On 08/01/2015 04:37 PM, Pavel Sanda wrote: Guillaume Munch wrote: +const int long_delay = 400; +const int short_delay = 40; So we will regenerate paragraph each 40ms no matter whether user typed/moved with the cursor or this gets triggered