Tabs replacing with spaces

SyntaxEditor for Windows Forms Forum

Posted 11 years ago by Iurii Gazin
Version: 4.0.0284
Hi. How can I set quantity of spaces that are replacing /t in Document.Text?
Is this would be quicker then Document.Text = someText.Replace("\t"," ")?

Is there some standard for a spaces quantity, how do u think? Maybe windows have some global environment variable that sets this? Or I should create options window in my app, with default = 4 spaces, and give user a chance to change this quantity?
Last questions maybe isn`t belong to actipro support, but I`ll be very thankful if somebody can give me the answer)
In my app I can`t work with /t

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Iurii,

The Document.TabSize property sets how many spaces are in a tab. You should probably make it configurable by the end user.

Actipro Software Support

The latest build of this product (v21.1.0) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.