Blazej,
What you could do is derive another class from RichTextBox. To this
class, you would add methods that allow you to set the scroll position and
also an event that would be fired when the scrolling is changed. Once you
have that, you can have the form or container manage the two text boxes when
the scrolling occurs. When one scrolls, the scroll position on the other is
set.
Hope this helps.