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.

Signature
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
janij@removethis.dystopia.fi
http://www.saunalahti.fi/janij/