I got 1 more different problems.
MBCS chars is drawn at the gutter area when vertial-scrolling like attached image.
the patch for this is like the following
Line 2839 at SynEdit.pas
fTextDrawer.ExtTextOut(nX, rcToken.Top, ETOOptions, rcToken, pszText, nCharsToPaint);
-->
just clip
TempRect := rcToken;
TempRect.Left := Max(TempRect.Left, aClip.Left);
fTextDrawer.ExtTextOut(nX, rcToken.Top, ETOOptions or ETO_CLIPPED, TempRect, pszText, nCharsToPaint);
Logged In: YES
user_id=1383550
Originator: YES
I've noticed the way i told isnt good.
the following one is better
Line 3417 at SynEdit.pas
PaintLines;
-->
if fGutter.Visible then
ExcludeClipRect(Canvas.Handle, 0, 0, fGutterWidth + 2, ClientHeight);
PaintLines;
File Added: SynEditPatch.zip