Greg Smith:

> Oops... IntersectClipRect(0,0,0,0) is wrong, you have to use
> SetClipRgn(NULL) to cancel all clipping.

   I think you meant SelectClipRgn here.

> I agree that it would be much better if it worked without the need to mess
> with clipping.

   It can probably go in if the clipping of the DC is left the same
after the FormatRange as before. Perhaps SaveDC and RestoreDC should
be used to ensure that the container's DC is not affected in any way
(apart from some drawing being done).

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to