>   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).
Use Save and Restore would also fix FormatRange changing the TextAlign.
However, this might break some existing apps that rely (inadvertently)
on the alignment.

Greg


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

Reply via email to