471,605 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

Show whitespaces

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

Dec 27 '05 #1
1 2195
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/ar...10/14/182.aspx

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

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Dec 27 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mar Thomas | last post: by
reply views Thread by Prawdziwa Blondynka | last post: by
1 post views Thread by Dave | last post: by
1 post views Thread by rj | last post: by
6 posts views Thread by mardif | last post: by
6 posts views Thread by mathieu.malaterre | last post: by
bhing
3 posts views Thread by bhing | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.