I want to number all of the lines in my textbox, this I could do easily, however I have run into 2 problems.

1. The Rich Textbox expands to the center so it fills the form, this works perfect as is. Now I wanted to put a panel on the left so I could number the lines, but the textbox cannot dock properly and it will go under the panel. The only way I was able to fix this was using a toolbal, however, I'm not exactly sure how I could use a toolbar to display each line since I wanted to put a read only textbox onto it. So how would I use a panel on the left of the textbox but both will dock properly when the program's size is changed?

2. How can I make the other textbox with the numbers scroll at the same time as the other textbox?