|
From: Flávio E. <et...@us...> - 2005-04-13 04:31:16
|
Update of /cvsroot/synedit/SynEdit/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10841/Source Modified Files: Tag: UtterUnstable SynEditHighlighter.pas Log Message: Fix comment in last commit.... Index: SynEditHighlighter.pas =================================================================== RCS file: /cvsroot/synedit/SynEdit/Source/SynEditHighlighter.pas,v retrieving revision 1.36.4.5 retrieving revision 1.36.4.6 diff -u -d -r1.36.4.5 -r1.36.4.6 --- SynEditHighlighter.pas 13 Apr 2005 04:26:56 -0000 1.36.4.5 +++ SynEditHighlighter.pas 13 Apr 2005 04:30:54 -0000 1.36.4.6 @@ -1024,10 +1024,9 @@ function TSynCustomHighlighter.GetTokenLength: Integer; (* - Highlighters should override this to void copying tokens that aren't visible (text -that isn't being show). - Since this will cause absolutely negligibly overhead, it's better to have his default -implementation than have unexpected Abstract Errors in older highlighters... + Highlighters should override this to avoid copying tokens that aren't visible (text +that isn't being show), otherwise it will get extra penalty because GetToken will be +called twice (in SynEdit.PaintLines)... *) begin Result := Length(GetToken); |