private void rbOld_MouseDown(object sender, MouseEventArgs e)
        {
            rbOld.Select();
            OldLineNumberTextBox.DeselectAll();

            rbOld.AutoWordSelection = true;
            rbOld.AutoWordSelection = false;
        }
        private void rbOld_VScroll(object sender, EventArgs e)
        {
            if (!loading)
            {
                OldLineNumberTextBox.Text = "";
                AddLineNumbers(false);
                OldLineNumberTextBox.Invalidate();

                int nPos = GetScrollPos(rbOld.Handle, (int)ScrollBarType.SbVert);
                nPos <<= 16;
                uint wParam = (uint)ScrollBarCommands.SB_THUMBPOSITION | (uint)nPos;

                SendMessage(rbNew.Handle, (int)Message.WM_VSCROLL, new IntPtr(wParam), new IntPtr(0));
            }
        }