Does richtextbox provide feature to wrap code like VS editor

2 posts, 1 answers
  1. york
    york avatar
    160 posts
    Member since:
    Jul 2012

    Posted 31 Dec 2012 Link to this post

    Hi,

    I create editor using richtextbox in which I want features to wrap code into a line like Visual Studio editor wrapping code for function and region. I'd like to know if richtextbox provides something that can do it. Thanks.

    York
  2. Answer
    Petya
    Admin
    Petya avatar
    975 posts

    Posted 02 Jan 2013 Link to this post

    Hi York,

    Such functionality is not available out of the box. Unfortunately, I am also unable to point you in a specific direction that can get you started with implementing your custom logic as the scenario is rather complex. If, however, you decide to implement such a feature, I suggest you look through the following articles in our online documentation: Formatting APIPositioningSelection.

    Overall, we have considered extending RadRichTextBox with code-editing capabilities, but for now such features have not been added to the roadmap and I cannot tell if and when they might be available.
     
    Greetings,
    Petya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top