[Lazarus] GUI frontend to a console application

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Feb 24 09:46:43 CET 2009



Hans-Peter Diettrich wrote:
> 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.
>   
Which is what it does, just 2 line 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.
>   

Let me know, if any of that makes a diff.


>> 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
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>   



More information about the Lazarus mailing list