On Wed, 26 May 2010 20:41:39 +0100 Martin <[email protected]> wrote:
> On 26/05/2010 20:29, Mattias Gaertner wrote: > > On Wed, 26 May 2010 20:09:47 +0100 > > Martin<[email protected]> wrote: > > > >> On 26/05/2010 19:54, Mattias Gaertner wrote: > >> > >>> Apparently it uses some kind of line state too and only updates > >>> till the visible area. Maybe synedit can do the same. At the moment > >>> syndit updates everything too often. > >>> > >>> > >> It's been on my todo for a long time (and some prep work, like moving > >> highlighter related functions from synedit to highlighter have > >> started....) > >> > >> It will be limited though => because folding needs to know the full deal > >> (as scrollbars depend on the total of visible (unfolded) lines. > >> Of course, if no nodes are folded => folding doesn't care (even if > >> switches on). It's only when a node actually is folded => then folding > >> needs to verify it still exists. > >> > > I see. > > But at least "replace all" could be improved. > > > Hm How to you mean. Unless there is a bug I don't know about. You are right, it is not the highlighter. I will send you the gprof output. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
