[Padre-dev] yellow squares in HACKING.txt

Heiko Jansen heiko_jansen at web.de
Wed Nov 12 05:34:09 PST 2008


> -----Ursprüngliche Nachricht-----
> Von: "Gabor Szabo" <szabgab at gmail.com>
> Gesendet: 12.11.08 13:06:49
> An: "Padre development discussion list" <padre-dev at perlide.org>
> Betreff: Re: [Padre-dev] yellow squares in HACKING.txt


> Ah, I think this is the syntax checking.

Yes, it is.

> If so, it should only work for files that are in the
> isa->('Padre::Document::Perl')

Added that check just a few seconds ago.

> and the whole feature should be controllable via an option in the
> Experimental menu
> just as the PPI syntax highlighting is.

Will do that. 

> It's nice, but as I can see it slows down typing.

Interestingly: I didn't see that happen here. Maybe i have a faster machine (dual core 2Ghz), maybe you're just typing faster, ...
Number of open files shouldn't be the cause since only the document in the current editor is checked.
Still: I plan to find a better trigger for the check to run. Currently it runs every 1000ms but only if the doc was changed since the last run. 
IMHO, it could be better instead if it ran when the editor is idle and has been so for, say, 500 ms. 
But that's much harder to implement than a simple timer. 

I don't know how much time I'll have till Sunday to work on it so i just wanted to check it in for others to see that the problem is being dealt with and perhaps to receive some hints on alternative/better solutions or implementation tips.

Heiko
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066



More information about the Padre-dev mailing list