This is a migrated thread and some comments may be shown as answers.

RichTextBox Editor

1 Answer 151 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
luc
Top achievements
Rank 1
luc asked on 22 Aug 2011, 11:54 AM
I try to write a sql editor with the RichTextBox control binding to a sql source. I have write my own TxtFormatProvider to colorize the keyword. It's work fine when the document is import but I don't understand how to invoke the FormatProvider when the text change but user input. I think i need to process all the content of the sql editor to have the right token color.

1 Answer, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 24 Aug 2011, 01:20 PM
Hi Luc,

RadRichTextBox can be used to visualize highlighted code with TxtFormatProvider, but unfortunately it does not have any code-editing capabilities built-in - like syntax-highlight - and it would be very difficult to implement such a scenario.

We have features in our to-do list like "sytanx-highlight" and "autocomplete" but currently I cannot give you any specific promise about their availability.
Let us know if we can help with anything else.

Best wishes,
Mike
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
RichTextBox
Asked by
luc
Top achievements
Rank 1
Answers by
Mike
Telerik team
Share this question
or