On Mon, 28 Mar 2011 23:00:54 +0200
Colomban Wendling <[email protected]> wrote:

> > Anyway here is patch that make Geany don't parse tags when user is actively 
> > typing.
> 
> I'm not sure about this patch, because it is then really easy to make
> the tag list never update automatically.
> E.g. if update timeout is set to 1s, just type something every 999ms and
> then update will never happen, even if there is actually 1s free to do it.

Please show me that energeezer that type something every second and even have 
time to inspect tags while doing it. :) It is quite unrealistic to me. On other 
hand if someone is just typing parse delay can be annoying if his file is HUGE. 

> 
> Are really the update making something unresponsive for you?

Actually I was happy with Geany performance even before any related changes, so 
it is not very important to me, but I think it can be usefull to topic starter.

> 
> But maybe I'm worrying too much and this only need the timeout to be
> configured otherwise, I may try to tune this if you really think it's
> important.
> 
> I also plan to try to move the TagManager parsing in a separate thread
> at some point, maybe it'll help (though maybe it's the UI update that
> takes most of the time...). 

No, I suspected this first and disabled UI update during research (delay seemed 
the same), but maybe it is worth to make smart update. Parser report that some 
tags were actually changed and you call UI update only then (if it is not done 
already)

-- 
Yura Siamashka <[email protected]>
_______________________________________________
Geany-devel mailing list
[email protected]
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to