From: Flávio E. <et...@us...> - 2008-02-13 04:50:39
|
Update of /cvsroot/synedit/SynEdit/Source In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv16685 Modified Files: Tag: UtterUnstable SynEdit.pas Log Message: FIX: [1756353] text drawing bug again Index: SynEdit.pas =================================================================== RCS file: /cvsroot/synedit/SynEdit/Source/SynEdit.pas,v retrieving revision 1.389.2.99 retrieving revision 1.389.2.100 diff -u -d -r1.389.2.99 -r1.389.2.100 --- SynEdit.pas 20 Nov 2007 09:39:43 -0000 1.389.2.99 +++ SynEdit.pas 13 Feb 2008 04:50:34 -0000 1.389.2.100 @@ -41,6 +41,7 @@ //todo: Move WordWrap glyph to the WordWrap plugin. //todo: remove the several Undo block types //todo: always use TSynTextContainer? +//todo: check whether fInvalidateRect is really a performence gain {$IFNDEF QSYNEDIT} unit SynEdit; @@ -3780,6 +3781,7 @@ if Abs(Delta) < LinesInWindow then begin ScrollCanvas(0, fLineHeight * Delta, 0, 0); + OffsetRect(fInvalidateRect, 0, fLineHeight * Delta); end else Invalidate; |