Show whitespaces

  • Thread starter Thread starter asjad
  • Start date Start date
A

asjad

Is there is any way that i can show whitespaces in my editor, made by
extending rich text box.
 
Hello!
Is there is any way that i can show whitespaces in my editor, made by
extending rich text box.

The RichTextBox control is very versatile, but I don't think that it is able
to show whitespace (tabs and space characters).

Only manually converting the space characters to the dot character
(ALT+0183) comes into mind. Of course, this solution is far from perfect,
but should work nonetheless. Third party component will most probably help
you here.

Oh, in case you are interested, there are two nice RichTextBox customization
related articles written by Pete Vidler:

Extending RichTextBox
http://geekswithblogs.net/pvidler/archive/2003/10/14/182.aspx

Extending RichTextBox - Part II
http://geekswithblogs.net/pvidler/archive/2003/10/15/188.aspx

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Back
Top