c# RichTextBox Tab size
        Posted  
        
            by Bala R
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Bala R
        
        
        
        Published on 2010-04-26T20:48:40Z
        Indexed on 
            2010/04/26
            20:53 UTC
        
        
        Read the original article
        Hit count: 313
        
c#
|richtextbox
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.
© Stack Overflow or respective owner