c# RichTextBox Tab size
- by Bala R
Hello,
I'm using System.Windows.Forms.RichTextBox and by default the tab size is 8 spaces. The RichTextBox itself is not that big and 8 spaces leads to a lot of scrolling. Is there any way to make it 4 spaces. If it matters, the control is initially blank and the user starts entering stuff and the tabs have to shorter (4 spaces) as the user enters text with tabs.
I tried http://stackoverflow.com/questions/154204/modifying-default-tab-size-in-richtextbox
and a few variations of it but no luck.