[Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Feb 23 16:55:36 CET 2009


Martin Friebe schrieb:

>> Moving the cursor should not require much repaint. And after startup it 
>> works fine, so that I suspect a problem with the information collected 
>> over time.
>>   
> yes and no:
> - vertical moves do repaint the gutter always, in case that the "every 
> nth line number" is used.

Okay, but it would be sufficient to repaint only the old and new line's 
numbers.

> - Any caret move that goes across a word boundary triggers the 
> "highlight-current-word" (but it only set the timer, and only if you 
> wait it does a search in the source), unless you checked "disable 
> timer"  (but this feature has only been added in 2009, hence my question)
> - If you hit a bracket, there is a quick search for the matching one. 
> and if you are on a begin or end there is a search for the matching word 
> (but if you are not on a begin or similar, this should not affect you).

I think that I should disable all that eye-candy.


> I think the problem that is bigger than such a cache is mem management. 
> SynEdit keeps allocating/deallocating a lot => that leads to fragments 
> in the fpc mem-mgmt => and that could cause a slow down..

Maybe, yes.

DoDi




More information about the Lazarus mailing list