PostPaint
This event is sent after TE draw the text area.
tern.PosPaint+=new Tern.EventPostPaint(PostPaint);
protected void PostPaint(object Sender, Graphics gr)
{
....
}The 'gr' parameter holds the Graphics object associated with the editor window.