Point point = this.rtb.GetPositionFromCharIndex(rtb.SelectionStart);
using (Graphics g = this.rtb.CreateGraphics())
{
point.Y += (int)g.MeasureString(" ", rtb.Font).Height + 5; // 10 is the original padding
point.X += (int)g.MeasureString(" ", rtb.Font).Width + 35; //adjustment for code line count (left)
}
this.lb.Location = point;