locked
Show tab caharcter in textbox RRS feed

  • Question

  • Hi All,

    Is there a .NET control that can display tab and end of line characters like word does? I am interested in non-free solutions as well.

    Thank you.

    Wednesday, July 27, 2011 1:49 PM

Answers

  • Choose your own characters to display in place of TAB or End of Line. Then wherever TAB/EOL are there in the text, replace them with respective characters.


    Please mark this post as answer if it solved your problem. Happy Programming!

    • Marked as answer by Jie Bao Thursday, August 4, 2011 4:02 PM
    Wednesday, July 27, 2011 2:29 PM
  • I know one, the control from sharp develop project. Please try it: http://wiki.sharpdevelop.net/AvalonEdit.ashx and Codeproject article: http://www.codeproject.com/KB/edit/AvalonEdit.aspx (implement it in WPF). If you get the old version of  sharp develop, the version 3, you can get one editor control designed by Winform. (I researched this control and it can show the TAB/EOL character)

    Sincerely,

     

    ----------------------------------

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

     


    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Jie Bao Thursday, August 4, 2011 4:02 PM
    Friday, July 29, 2011 10:38 AM

All replies

  • Choose your own characters to display in place of TAB or End of Line. Then wherever TAB/EOL are there in the text, replace them with respective characters.


    Please mark this post as answer if it solved your problem. Happy Programming!

    • Marked as answer by Jie Bao Thursday, August 4, 2011 4:02 PM
    Wednesday, July 27, 2011 2:29 PM
  • I know one, the control from sharp develop project. Please try it: http://wiki.sharpdevelop.net/AvalonEdit.ashx and Codeproject article: http://www.codeproject.com/KB/edit/AvalonEdit.aspx (implement it in WPF). If you get the old version of  sharp develop, the version 3, you can get one editor control designed by Winform. (I researched this control and it can show the TAB/EOL character)

    Sincerely,

     

    ----------------------------------

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

     


    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Jie Bao Thursday, August 4, 2011 4:02 PM
    Friday, July 29, 2011 10:38 AM