On Wed, 17 Feb 2010 17:10:35 +0700 Paul Ishenin <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
