[Lazarus] Check out my photos on Facebook

Peter Eric Williams invite+zj4oaz26c9_9 at facebookmail.com
Thu Feb 18 04:56:35 CET 2010


On Wed, 17 Feb 2010 17:10:35 +0700
Paul Ishenin <webpirat at mail.ru> wrote:

> 17.02.2010 17:02, Graeme Geldenhuys wrote:
> > Do you need a fast syntax highlighter with code folding support in a big
> >    
> > Oh, is all the other editor features in Synedit also part of the
> > synhighlighter*.pas files? I though those files only contains the syntax
> > highlighting (aka. pretty colors) stuff.
> >    
> The main reason of the big unit size is the speed optimization but 
> indeed, pascal highlighter performs more work like defining the begining 
> and the end of the fold regions. 

Yes, this saves redundant code.

> Also it has a big piece of code 
> preserved for delphi compatibility (in case we ever push our changes to 
> the original synedit project).

Less than 100 lines (<2.5%).

Mattias




More information about the Lazarus mailing list